		stallVariable = 0;
		function showNavigation(whichOne) {
			var el = document.getElementById(whichOne);
			if (stallVariable == 0) {
				if (el.style.display == 'none' || el.style.display == '') {
					el.style.display='none';
					$('#'+whichOne).slideDown("fast");
				} else {
					$('#'+whichOne).slideUp("fast");
				}
			}
		}	
		function makeBigX(urlToPass,movieWidth,movieHeight) {
		  var scrOfX = 0, scrOfY = 0;
		  if( typeof( window.pageYOffset ) == 'number' ) {
			//Netscape compliant
			scrOfY = window.pageYOffset;
			scrOfX = window.pageXOffset;
		  } else if( document.body && ( document.body.scrollLeft || document.body.scrollTop ) ) {
			//DOM compliant
			scrOfY = document.body.scrollTop;
			scrOfX = document.body.scrollLeft;
		  } else if( document.documentElement && ( document.documentElement.scrollLeft || document.documentElement.scrollTop ) ) {
			//IE6 standards compliant mode
			scrOfY = document.documentElement.scrollTop;
			scrOfX = document.documentElement.scrollLeft;
		  }
		
		if (document.getElementById("videoPlayer").innerHTML == "") {
		   var newdiv = document.createElement('div');
		   newdiv.id = "wholePageClose";
		   newdiv.style.width = "100%";
		   newdiv.style.height = "100%";
			var browserCheck = (document.all) ? 1 : 0; // ternary operator statements to check if IE. set 1 if is, set 0 if not.

			if( browserCheck > 0 ) {
				newdiv.style.position = "absolute";
			   newdiv.style.top = scrOfY+"px";
			} else {
				newdiv.style.position = "fixed";
			    newdiv.style.top = "0px";
			}				
		   
		   newdiv.style.left = 0;

		  // newdiv.style.background = "
		   
		   newdiv.style.zIndex = 1;
		   document.body.appendChild(newdiv);
		   document.getElementById("wholePageClose").innerHTML = "<img src='art/x.png' style='width:100%;height:100%;top:0px;left:0px;' border='0'>";
		   document.getElementById("wholePageClose").onclick=new Function("hideEnlargement()");	
		 } else {
		 	document.getElementById("wholePageClose").style.display = "block";
			if( browserCheck > 0 ) {
			   document.getElementById("wholePageClose").style.top = scrOfY+"px";
			} else {
			    document.getElementById("wholePageClose").style.top = "0px";
			}				
		 }
			  var scrOfX = 0, scrOfY = 0;
			  if( typeof( window.pageYOffset ) == 'number' ) {
				scrOfY = window.pageYOffset;
			  } else if( document.body && ( document.body.scrollLeft || document.body.scrollTop ) ) {
				scrOfY = document.body.scrollTop;
			  } else if( document.documentElement && ( document.documentElement.scrollLeft || document.documentElement.scrollTop ) ) {
				scrOfY = document.documentElement.scrollTop;
			  }
			
			//document.getElementById("videoPlayer").style.paddingTop = (scrOfY)+"px";
			document.getElementById("videoPlayer").style.display = "block";
			if (movieWidth != undefined) {
				var finalWidth = movieWidth;
				var finalHeight = movieHeight;
			} else {
				finalWidth = 320;
				finalHeight = 240;
			}
			var halfWidth = Math.round(finalWidth/2);
			var halfHeight = Math.round(finalHeight/2);
				document.getElementById("videoPlayer").style.marginLeft = "-"+halfWidth+"px";
				document.getElementById("videoPlayer").style.marginTop = "-"+halfHeight+"px";
				document.getElementById("videoPlayer").style.width = finalWidth+"px";
				document.getElementById("videoPlayer").style.height = finalHeight+"px";
			if( browserCheck > 0 ) {
			   document.getElementById("videoPlayer").style.paddingTop = scrOfY+"px";
			}			
/*			
			if (urlToPass == "10") {
				document.getElementById("videoPlayer").style.marginLeft = "-424px";
				document.getElementById("videoPlayer").style.marginTop = "-250px"; 
				document.getElementById("videoPlayer").style.width = "854px";
				document.getElementById("videoPlayer").style.height = "500px";
			} else { 

				document.getElementById("videoPlayer").style.marginLeft = "-160px";
				document.getElementById("videoPlayer").style.marginTop = "-120px";
				document.getElementById("videoPlayer").style.width = "320px";
				document.getElementById("videoPlayer").style.height = "240px";
			}
*/

			//$("#videoPlayer").load("video.php?vid="+urlToPass);
			ajaxpage('video.php?vid='+urlToPass, 'videoPlayer','noPreload')
		}

		function hideEnlargement() {
			ajaxpage('blank.html', 'videoPlayer','noPreload')
		    //$("#videoPlayer").load("blank.html");
			document.getElementById("wholePageClose").style.display = "none";
			document.getElementById("videoPlayer").style.display = "none";
		}
        $(document).ready(function() { 
            $('#artrigueForm').ajaxForm(function() { 
                //alert("Thank you for your comment!"); 
                document.getElementById("Contact").innerHTML = "<br />Thanks for getting in touch.<br /><br />Someone will get back to you shortly.<br /><br />";
            }); 
        }); 
		
