
			var expHours = 3;
			var exp = new Date(); 
			exp.setTime(exp.getTime() + (expHours*60*60*1000));
			var now = new Date(); 
			now.setTime(now.getTime());
			cookieName = 'cacheExpire';
			layer = 'home';
			var cachedmov = '<p><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"';
			cachedmov+=' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"';
			cachedmov+=' height="600" width="792"><param name="movie" value="Home.swf">';
			cachedmov+='<param name="FlashVars" value="cached=true"><param name="quality"';
			cachedmov+=' value="best"><param name="play" value="true"><embed height="600" pluginspage="http://www.macromedia.com/go/getflashplayer"';
			cachedmov+=' src="Home.swf" FlashVars="cached=true" type="application/x-shockwave-flash" width="792" quality="best" play="true"></object></p>';

			function getCookieVal (offset) {  
				var endstr = document.cookie.indexOf (";", offset);  
				if (endstr == -1){
						endstr = document.cookie.length;  
				}
				return unescape(document.cookie.substring(offset, endstr));
			}
			function GetCookie (name) { 
				/*debug only
				if(window.console) {
					window.console.log('GetCookie was called with name = '+name);
				} else{
					alert('GetCookie was called with name = '+name)
				} */
				var arg = name + "=";  
				var alen = arg.length;  
				var clen = document.cookie.length;  
				var i = 0;  
				while (i < clen) {    
					var j = i + alen;    
					if (document.cookie.substring(i, j) == arg)      
					return getCookieVal (j);    
					i = document.cookie.indexOf(" ", i) + 1;    
					if (i == 0) break;   
				}  
				return null;
			}

			function SetCookie (name, value, expires) {  
				var argv = SetCookie.arguments;  
				var argc = SetCookie.arguments.length;  
				var expires = (argc > 2) ? argv[2] : null;  
				var path = (argc > 3) ? argv[3] : null;  
				var domain = (argc > 4) ? argv[4] : null;  
				var secure = (argc > 5) ? argv[5] : false;  
				document.cookie = name + "=" + escape (value) + 
				((expires == null) ? "" : ("; expires=" + expires.toGMTString())) + 
				((path == null) ? "" : ("; path=" + path)) +  
				((domain == null) ? "" : ("; domain=" + domain)) +    
				((secure == true) ? "; secure" : "");
			}

			function DeleteCookie (name) {  
				var exp = new Date();  
				exp.setTime (exp.getTime() - 1);  
				var cval = GetCookie (name);  

				document.cookie = name + "=" + cval + "; expires=" + exp.toGMTString();
			}

			function writit(text,id)
			{

				if (document.getElementById){
					x = document.getElementById(id);
					x.innerHTML = '';
					x.innerHTML = text;
					/*debug only
					if(window.console) {
						window.console.log('writit was called with text = '+text+' getelementByID('+id+')');
					} else{
						alert('writit was called with text = '+text+' getelementByID('+id+')')
					}*/
				}
				else if (document.all){
					x = document.all[id];
					x.innerHTML = text;
					/*debug only
					if(window.console) {
						window.console.log('writit was called with text = '+text+' document.all['+id+']');
					} else{
						alert('writit was called with text = '+text+' document.all['+id+']')
					}*/
				}
				else if (document.layers){
					x = document.layers[id];
					text2 = '<P CLASS="testclass">' + text + '</P>';
					x.document.open();
					x.document.write(text2);
					x.document.close();
					/*debug only
					if(window.console) {
						window.console.log('writit was called with text = '+text+' document.layers['+id+']');
					} else{
						alert('writit was called with text = '+text+' document.layers['+id+']')
					}*/
				}

			}
			function go(){

				var cook = GetCookie(cookieName);
				if( cook == null ){
					/*
					if(window.console) {
						window.console.log('SetCookie was called with cookieName = '+cookieName);
					} else{
						alert('SetCookie was called with cookieName = '+cookieName)
					}*/

					SetCookie(cookieName,true,exp);
				}else{
				
					writit(cachedmov,layer);

				}	

			}

			
