thisHeader={ t:"From Local to LIVE Co-host for a Day Searchhh", s:"",w:530,h:70 }

function renderHeader() {
  document.writeln('<img src="images/GuestCoHostSearch-400x199.jpg" alt="" border="0" width="400" height="199" align="center" style="margin-bottom:10px;"/>');
	writeHeader(thisHeader);
}
function renderLogInfo() {
	if (username!=null){
		document.writeln('Welcome, <b>'+firstName+'</b> ('+username+')<br>'+
			'Not this user? <a href="https://register.go.com/regisandkelly/login?logout=true&appRedirect='+location.href+'">Click here.</a>');
	} else {
		location.replace("https://register.go.com/regisandkelly/login?appRedirect="+location.href);
	}
}

function writeInfoCopy() {
	document.writeln('Have you ever imagined that someone from the TV station where you watch "LIVE" would be great on-air with either Regis or Kelly?  Here\'s your chance to make it a reality!  We\'re inviting you to nominate a broadcaster from the same station where you watch "LIVE," who you would like to see co-host with Regis or Kelly for a day. We\'re looking for news anchors, reporters, weather people, traffic reporters, business and financial reporters, movie critics…anyone who works on-air at your station. <a href="guidelines.html">Click Here</a> for the Official Guidelines.'+
		'<br/><br/>'+
		'<b>Complete the information below and attach nominee\'s photo (optional) to submit your entry.</b>');
}

function writeNoteCopy() {
	document.writeln('Note: All fields are required for submission.');
}

function writeAttachCopy() {
	document.writeln('<b>OPTIONAL: YOU MAY SUBMIT A PHOTO OF THE PERSON YOU ARE NOMINATING</b>');
}

function writeAttachSubCopy() {
	document.writeln('To attach your file, click BROWSE above, locate the file on your computer in the pop-up dialog and push OPEN.');
}

function writeSubCopy() {
	document.writeln('<b>Upload your picture:</b>'+
		'<ul class="subTextCopy">'+
			'<li>PLEASE NOTE: Photos are for reference purposes only and will not be used for any purpose beyond researching the nomination that is submitted.</li>'+
			'<li>Your photo should be formatted as a JPG or GIF.</li>'+
			'<li>The size of your formatted photo should be 150KB or smaller.</li>'+
			'<li>Photos will NOT be returned</li>'+
		'</ul>');
}

function writeLowerCopy() {
	document.writeln('Please Note: "Live with Regis & Kelly" can provide no '+
		'further technical support and accepts no responsibility for insuring the '+
		'receipt of your e-mail and photo.');
}

function writeDisclaimer(){
	document.writeln('NO PURCHASE NECESSARY. Void where prohibited. Open to legal residents of the fifty states of the U.S., D.C. and Canada (excluding Quebec), who are 18 years of age or older as of date of entry. <a href="http://bventertainment.go.com/tv/buenavista/regisandkelly/contests/guestcohostsearch/rules.html">CLICK HERE for the OFFICIAL RULES</a>. Prize restrictions apply.');
}

function renderLeaderboard() {
	document.writeln('<IFRAME SRC="http://3ps.go.com/DynamicAd?srvc=bvtv&itype=Banner&url=/regisandkelly/contests/guestcohostsearch/" border="0" width="728" height="90" SCROLLING="NO" FRAMEBORDER="0" MARGINHEIGHT="0"MARGINWIDTH="0"></IFRAME>');
}

function renderSkyscraper() {
	document.writeln('<IFRAME SRC="http://3ps.go.com/DynamicAd?srvc=bvtv&itype=Skyscraper&url=/regisandkelly/contests/guestcohostsearch/" border="0" width="160" height="616" SCROLLING="NO" FRAMEBORDER="0" MARGINHEIGHT="0"MARGINWIDTH="0"></IFRAME>');
}


/*QUICK AND DIRRTY REDIRECT*/
try{
if (location.href.match(/cgi/gi)!=null && params(document.cookie,'GREEN','')==''){
location.replace("https://register.go.com/regisandkelly/login?appRedirect="+location.href);
}
}catch(e){}

function changeSubject(){
  gid("formSubject").value = gid("formName").value;
}

eee=[
["Name", "Please type in your name."],
["street", "Please type in your address."],
["city", "Please type in your city."],
["state", "Please select your state/province."],
["zip", "Please type in your zip/postal code."],
["daytime_phone", "Please type in your daytime phone number."],
["evening_phone", "Please type in your evening phone number."],
["bcname", "Please type in your nominee's name."],
["tvstation", "Please type in nominee's TV Station."],
["bccity", "Please type in nominee's city."],
["bcstate", "Please select your nominee's state/province."]
];

doEmailCheck=true;
//messageLimit=2500;