	function getURLParam(strParamName){
	    var strReturn = "";
	    var strHref = window.location.href;
	    if ( strHref.indexOf("?") > -1 ){
	     var strQueryString = strHref.substr(strHref.indexOf("?"));
	     var aQueryString = strQueryString.split("&");
	     for ( var iParam = 0; iParam < aQueryString.length; iParam++ ){
	       if (aQueryString[iParam].indexOf(strParamName + "=") > -1 ){
	         var aParam = aQueryString[iParam].split("=");
	         strReturn = aParam[1];
	         break;
	       }
	     }
	    }
	    return unescape(strReturn);
	}
	
	function centerDiv(divID){
		var divObj = document.getElementById(divID);
		var windowWidth = document.body.offsetWidth;
		divObj.style.left = windowWidth/2 - 498;
	}
	
	function setContentVisibility(vis){
		var divObj = document.getElementById('shockwave');
		divObj.style.marginTop = (vis == 1) ? '0' : '-600';
	}
	
	function setContentSize(mode){
		var divObj = document.getElementById('shockwave');
		switch(mode){
			case "fullscreen":
				divObj.style.width = "996px";
				divObj.style.height = "500px";
				divObj.style.marginLeft = "0";
			break;
			case "experience":
				divObj.style.width = "996px";
				divObj.style.height = "455px";
				divObj.style.marginLeft = "0";
			break;
			case "intro":
				divObj.style.width = "996px";
				divObj.style.height = "455px";
				divObj.style.marginLeft = "0";
			break;
			case "normal":
				divObj.style.width = "565px";
				divObj.style.height = "255px";
				divObj.style.marginLeft = "135px";
			break;
		}
	}
	
	function thisMovie(movieName) {
         if (navigator.appName.indexOf("Microsoft") != -1) {
             return window[movieName];
         } else {
             return document[movieName];
         }
    }