jQuery().ready(function(){jQuery("ul.menu li.tab a").each(function(){jQuery(this).removeAttr('title');});jQuery("ul.submenu li.tab a").each(function(){jQuery(this).removeAttr('title');});if(google.loader.ClientLocation){jQuery("#qc01_country").attr("value",google.loader.ClientLocation.address.country);jQuery("#qc01_country_iso").attr("value",google.loader.ClientLocation.address.country_code);jQuery("#qc01_region").attr("value",google.loader.ClientLocation.address.region);jQuery("#qc01_city").attr("value",google.loader.ClientLocation.address.city);jQuery("#qc01_latitude").attr("value",google.loader.ClientLocation.latitude);jQuery("#qc01_longitude").attr("value",google.loader.ClientLocation.longitude);};if(typeof(_gat)!=='undefined'){jQuery("#qc01_ga_source").attr("value",ga_source);jQuery("#qc01_ga_medium").attr("value",ga_medium);jQuery("#qc01_ga_term").attr("value",ga_term);jQuery("#qc01_ga_content").attr("value",ga_content);jQuery("#qc01_ga_campaign").attr("value",ga_campaign);jQuery("#qc01_ga_segment").attr("value",ga_csegment);jQuery("#qc01_ga_number_of_visits").attr("value",ga_nVisits);};stickyTabForm=jQuery('#qcf_sticky_tab');stickyTabForm.attr('origTopOffset',stickyTabForm.css('top'));stickyTabMoveRight='Expand';stickyTabMoveLeft='Collapse';stickyTabLink=jQuery('#qcf_tab_clickme');stickyTabLink.attr('title',stickyTabMoveRight);stickyTabLink.attr('href','#');stickyTabLinkImgEl=jQuery('#qcf_tab_clickme_image');toggleQCF=function(){this.blur();if(stickyTabLink.attr('title')==stickyTabMoveRight){moveRight='+';setTop=stickyTabForm.position().top;titleText=stickyTabMoveLeft;jQuery('#quickcontact01_form input:text:visible:first').focus();}else{moveRight='-';setTop=parseInt(stickyTabForm.attr('origTopOffset'));titleText=stickyTabMoveRight;};stickyTabForm.animate({left:moveRight+'=196'},400,function(){stickyTabForm.toggleClass('expanded');stickyTabForm.toggleClass('collapsed');stickyTabForm.css('top',setTop);stickyTabLink.attr('title',titleText);stickyTabLinkImgEl.attr('src','http://xioup.com/images/buttons_and_tabs/Tab_Contact_Us_'+titleText+'_TL_BR_04.png');});return false;}
jQuery('#qcf_tab_container').hover(function(event){jQuery(this).toggleClass('qcf_tab_container_hover');},function(event){jQuery(this).toggleClass('qcf_tab_container_hover');});jQuery('#qcf_link_clickme').hover(function(event){jQuery('#qcf_tab_container').toggleClass('qcf_tab_container_hover');},function(event){jQuery('#qcf_tab_container').toggleClass('qcf_tab_container_hover');});jQuery('#qcf_tab_clickme').click(toggleQCF);jQuery('#qcf_link_clickme').click(toggleQCF);var jQueryValidator=jQuery('#quickcontact01_form').validate({rules:{'contact_details[first_name]':'required','contact_details[last_name]':'required','location[email]':{required:true,email:true}},messages:{'contact_details[first_name]':'','contact_details[last_name]':'','location[email]':''},submitHandler:function(form){jQuery(form).ajaxSubmit();jQueryValidator.resetForm();sucDiv=jQuery('form').children('div.form_success_message');sucDiv.fadeIn('fast');sucDiv.attr("SetTimeoutID",setTimeout(function(){sucDiv.fadeOut('fast')},15000));},highlight:function(element,errorClass){jQuery(element).prev('label').children('em').css('color','#F00');},unhighlight:function(element,errorClass){jQuery(element).prev('label').children('em').css('color','#000');},invalidHandler:function(form,validator){errDiv=jQuery('form').children('div.form_error_message');errDiv.fadeIn('fast');errDiv.attr("SetTimeoutID",setTimeout(function(){errDiv.fadeOut('fast')},15000));},focusInvalid:false});jQuery("#quickcontact01_form").children("div.form_error_message, div.form_success_message").click(function(){jQuery(this).fadeOut("fast");clearTimeout(jQuery(this).attr("SetTimeoutID"));jQuery('#quickcontact01_form input:text:visible:first').focus();});});function _uGC(l,n,s){if(!l||l==""||!n||n==""||!s||s=="")return"-";var i,i2,i3,c="-";i=l.indexOf(n);i3=n.indexOf("=")+1;if(i>-1){i2=l.indexOf(s,i);if(i2<0){i2=l.length;}
c=l.substring((i+i3),i2);};return c;};var z=_uGC(document.cookie,'__utmz=',';');var ga_source=_uGC(z,'utmcsr=','|');var ga_medium=_uGC(z,'utmcmd=','|');var ga_term=_uGC(z,'utmctr=','|');var ga_content=_uGC(z,'utmcct=','|');var ga_campaign=_uGC(z,'utmccn=','|');var ga_gclid=_uGC(z,'utmgclid=','|');if(ga_gclid!="-"){ga_source='google';ga_medium='cpc';};var ga_csegment=_uGC(document.cookie,'__utmv=',';');if(ga_csegment!='-'){var ga_csegmentex=/[1-9]*?\.(.*)/;ga_csegment=ga_csegment.match(ga_csegmentex);ga_csegment=ga_csegment[1];}else{ga_csegment='(not set)';};var a=_uGC(document.cookie,'__utma=',';');var aParts=a.split(".");var ga_nVisits=aParts[5];
