 <!--

 function doClear(theText) 
{
     if (theText.value == theText.defaultValue)
 {
         theText.value = ""
     }
 }
 
function graham()
{
var x=""
var x = readCookie('cruisestore');
	if (x != 'preregister') 
	{
	moverObj1=document.getElementById("cp").style;
	moverObj1.display = "block";
	moverObj1=document.getElementById("igg").style;
	moverObj1.display = "block";

	}
}
function go2(page){ //v3.0
 window.location.href = page;
}

function csclose(){
		moverObj1=document.getElementById("cp").style;
		moverObj1.display = "none";
		moverObj1=document.getElementById("igg").style;
		moverObj1.display = "none";
		createCookie('cruisestore','preregister',365);
}



function createCookie(name,value,days) {
	if (days) {
		var date = new Date();
		date.setTime(date.getTime()+(days*24*60*60*1000));
		var expires = "; expires="+date.toGMTString();
	}
	else var expires = "";
	document.cookie = name+"="+value+expires+"; path=/";
}

function readCookie(name) {
	var nameEQ = name + "=";
	var ca = document.cookie.split(';');
	for(var i=0;i < ca.length;i++) {
		var c = ca[i];
		while (c.charAt(0)==' ') c = c.substring(1,c.length);
		if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
	}
	return null;
}

function eraseCookie(name) {
	createCookie(name,"",-1);
}


function openInNewWindow(href) { var w = window.open(href, "", "width=5000,height=5000,top=0,left=0,toolbar=no,status=no", true); if(w) { try { var sw = window.screen.width; var sh = window.screen.height; var newX = ((5000-sw)/2) * -1; var newY = ((5000-sh)/2) * -1;} catch(exception) { return true; } try { w.moveTo( newX, newY ); } catch(exception){} return false; } else { return true; } } var PlayBackPath = "http://www.webromtv.com/engine/PlayBack.aspx"; function playWebrom(pwebxml) { webxml = pwebxml.substr(7); var hr = PlayBackPath + "?Webrom=" + webxml; return openInNewWindow(hr); }

//Webrom code
/*var PlayBackPath = "http://www.webromtv.com/engine/PlayBack.aspx";

function playWebrom(pwebxml)
	{
		webxml = pwebxml.substr(7);
		var hr = PlayBackPath + "?Webrom=" + webxml;
		return openInNewWindow(hr);
	}

function openInNewWindow(href)
{
 	var w = window.open(href, "", "width=5000,height=5000,top=0,left=0,toolbar=no,status=no", true);

  if(w) 
  {
    try
    {
      var sw = window.screen.width;
      var sh = window.screen.height;
      var newX = ((5000-sw)/2) * -1;
      var newY = ((5000-sh)/2) * -1;
    }
    catch(exception)
    {
      	return true;
    }
    try
    {
      w.moveTo( newX, newY );
    } 
	catch(exception)
	{
	}
    return false; 
  }
  else
  {
    return true; 
  }
}*/
//End of Webrom code
 //-->
