<!--
function login(coreURI,companyId,prevPage,URI) {
tb_show('Login', coreURI+'wr-login.php?prev_page='+prevPage+'&amp;company_id='+companyId+'&amp;uri='+URI+'&amp;TB_iframe=true&amp;height=500&amp;width=770', null);	
}

jQuery.preloadImages = function()
{
  for(var i = 0; i<arguments.length; i++)
  {
    jQuery("<img>").attr("src", arguments[i]);
  }
}

jQuery.fn.labelOver = function(overClass) {
	return this.each(function(){
		var label = jQuery(this);
		var f = label.attr('for');
		if (f) {
			var input = jQuery('#' + f);
			
			this.hide = function() {
			  label.css({ textIndent: -10000 })
			}
			
			this.show = function() {
			  if (input.val() == '') label.css({ textIndent: 0 })
			}

			// handlers
			input.focus(this.hide);
			input.blur(this.show);
		    label.addClass(overClass).click(function(){ input.focus() });
			
			if (input.val() != '') this.hide(); 
		}
	})
}
jQuery(document).ready(function() {
    jQuery('.cms_mail1317131713171317_to').each(function(){
        var email1317131713171317 = jQuery(this).attr('address');
        var email13171317131713172 = email1317131713171317.replace(' [dot] ','.');
        var true_email1317131713171317 = email13171317131713172.replace(' [at] ','@');
        var title = jQuery(this).attr('title');
        if(title == ''){
            jQuery(this).after("<a href=\"mail1317131713171317to:"+true_email1317131713171317+"\">"+true_email1317131713171317+"</a>").remove();
        }else{
            jQuery(this).after("<a href=\"mail1317131713171317to:"+true_email1317131713171317+"\">"+title+"</a>").remove();
        }
    });
    jQuery('.cms_mail1317131713171317_to_ao').each(function(){
        var email1317131713171317 = jQuery(this).html();
        var email13171317131713172 = email1317131713171317.replace(' [dot] ','.');
        var true_email1317131713171317 = email13171317131713172.replace(' [at] ','@');
        jQuery(this).after("<a href=\"mail1317131713171317to:"+true_email1317131713171317+"\">"+true_email1317131713171317+"</a>").remove();
    });
});

jQuery(document).ready(function(){
    jQuery('.jquery_embed_swf').each(function(){
        var src = jQuery(this).attr('src');
        var width = jQuery(this).attr('vwidth');
        var height = jQuery(this).attr('vheight');
        jQuery(this).flash({ src: src,width: width,height: height },{ version: 8 });
    });
});
//-->
