   $(document).ready(function() {
		///// GLOBAL fadeIn setting effects the following DIV element  <div id="content-img" >	
		//$("#content-img").hide().fadeIn(400);	
		
		///// GLOBAL fadeIn setting effects the following DIV element <div id="xxxxxxx" >.  CSS display is set to "NONE" Following code unhides div.
		$("#Content, #ContentIndex").hide().fadeIn(400);
		
		/* ------------------------------- */
		/*  BEGIN -- JQuery TAB Functions  */
		/* ------------------------------- */
		
		$("#tabs").hide().fadeIn(400);
		//$('#tabs').tabs();
	      	//$("#tabs").tabs({spinner: '',cache: false});
		/* GLOBAL #tabs  setting - controls tabs fadeIn, opacity, cache and loading spinner icon.*/
		$("#tabs").tabs({spinner: '',fx: { duration: 'fast' ,opacity: 'toggle'},cache: true});

		/* ------------------------------- ----------------------------------  */
		/*  BEGIN -- Contact_btn Sitewide main Navigation menu Jquery Effects  */
		/* ------------------------------------------------------------------  */
		
		$("#Contact_btn a").css({'background-color' : 'yellow', 'font-weight' : 'bolder', 'color' : 'rgb(0,40,244)'});
		$("#Contact_btn a").hover(function () {
		      $(this).css({'background-color' : '#ddd','font-weight' : '', 'color' : 'rgb(0,40,244)'});
		 }, function () {
		      var cssObj = {
			'background-color' : 'yellow', 'font-weight' : 'bolder'
		      }
		      $(this).css(cssObj);
		    });
		
		/* ------------------------------- */
		/*  BEGIN -- SIMPLE ROLLOVER LINKS */
		/* ------------------------------- */
		

		
		/* Agalite Logo Rollover - Index.php */
		$("#myAglink img").hover(function(){
		  	this.src = this.src.replace("_off","_on");
		 },function(){
		  	this.src = this.src.replace("_on","_off");
		 }
		);

		/* Hartung Studio Logo Rollover - Index.php */
		$("#myHslink img").hover(function(){
		  	this.src = this.src.replace("_off","_on");
		 },function(){
		  	this.src = this.src.replace("_on","_off");
		 }
		);
		
		/* Lami Glass Logo Rollover - Index.php */
		$("#myLmlink img").hover(function(){
		  	this.src = this.src.replace("_off","_on");
		 },function(){
		  	this.src = this.src.replace("_on","_off");
		 }
		);
		
		/* Holcam Logo Rollover - Index.php */
		$("#myHolink img").hover(function(){
		  	this.src = this.src.replace("_off","_on");
		 },function(){
		  	this.src = this.src.replace("_on","_off");
		 }
		);
  
		/* ------------------------------- */
		/*  END -- SIMPLE ROLLOVER LINKS */
		/* ------------------------------- */  
		
		$("#close-btn").click(function () {
			$("#promo").slideToggle("slow");
		});
      });

/* ------------------------------- */
/*  Begin -- HGI/SunGuard Promotions Email script - sunguard-beat-the-heat-promo.php */
/* ------------------------------- */  

function emailForm(){

	var email = "solutions";
	var emailHost = "hartungstudio.com"
	var errorMsg = "here here here is the error error error error";
	var subject = "Hartung/SunGuard Beat The Heat Photo Contest";
	var body_message = "To enter the contest, please complete the following form, entering all required fields and attach the image file(s) (jpg, tif, bmp, gif accepted) of a Guardian SunGuard project supplied by Hartung Glass Industries. Multiple or large images can be zipped and/or sent over multiple emails.%0D%0A%0D%0AI certify that I have read, understand and agree to the terms set forth in this contest.%0D%0A%0D%0AAll fields are required.%0D%0A%0D%0AFirst%20Name:%0D%0ALast%20Name:%0D%0ACompany:%0D%0AAddress:%0D%0ACity:%0D%0AState-Province:%0D%0AZip-Postal:%0D%0ACountry:%0D%0APhone%20Number:%0D%0ACell%20Number:%0D%0A%0D%0AProject%20Name:%0D%0ALocation:%0D%0ASpecific%20Product:%0D%0AGlazing%20Contractor:%0D%0APhotographer:";
	
	var mailto_link = 'mailto:'+email+'@'+emailHost+'?subject='+subject+'&body='+body_message;
	
	var win = (parent.location= mailto_link);
}	

/* ------------------------------- */
/*  Begin -- HGI Creeres Email script - sunguard-beat-the-heat-promo.php */
/* ------------------------------- */  

function emailFormHr(){

	var email = "careers";
	var emailHost = "hartung-glass.com"
	var errorMsg = "here here here is the error error error error";
	var subject = "Hartung-glass.com Career Opportunity Inquiry";
	var body_message = "";
	
	var mailto_link = 'mailto:'+email+'@'+emailHost+'?subject='+subject+'&body='+body_message;
	
	var win = (parent.location= mailto_link);
}	


