isamap = new Object();isamap[0] = "_df";isamap[1] = "_ov";isamap[2] = "_ot";isamap[3] = "_dn";function isimgact(id, act,iteration){// alert("ierated");if(document.images) {document.images[id].src = eval( "isimages." + id + isamap[act] + ".src")};}if (document.images) { // ensure browser can do JavaScript rollovers.isimages = new Object();isimages.topnav_home_10years_df = new Image();isimages.topnav_home_10years_df.src= "/common/images/10years/topnav_home_10years.gif";isimages.topnav_home_10years_ov = new Image();isimages.topnav_home_10years_ov.src = "/common/images/10years/topnav_home_10years_ov.gif";isimages.topnav_home_df = new Image();isimages.topnav_home_df.src= "/common/images/topnav_home.gif";isimages.topnav_home_ov = new Image();isimages.topnav_home_ov.src = "/common/images/topnav_home_ov.gif";isimages.topnav_movies_df = new Image();isimages.topnav_movies_df.src= "/common/images/topnav_movies.gif";isimages.topnav_movies_ov = new Image();isimages.topnav_movies_ov.src = "/common/images/topnav_movies_ov.gif";isimages.topnav_photos_df = new Image();isimages.topnav_photos_df.src= "/common/images/topnav_photos.gif";isimages.topnav_photos_ov = new Image();isimages.topnav_photos_ov.src = "/common/images/topnav_photos_ov.gif";isimages.topnav_asglive_df = new Image();isimages.topnav_asglive_df.src= "/common/images/topnav_asglive.gif";isimages.topnav_asglive_ov = new Image();isimages.topnav_asglive_ov.src = "/common/images/topnav_asglive_ov.gif";isimages.topnav_theater_df = new Image();isimages.topnav_theater_df.src= "/common/images/topnav_theater.gif";isimages.topnav_theater_ov = new Image();isimages.topnav_theater_ov.src = "/common/images/topnav_theater_ov.gif";isimages.topnav_models_df = new Image();isimages.topnav_models_df.src= "/common/images/topnav_models.gif";isimages.topnav_models_ov = new Image();isimages.topnav_models_ov.src = "/common/images/topnav_models_ov.gif";isimages.topnav_community_df = new Image();isimages.topnav_community_df.src= "/common/images/topnav_community.gif";isimages.topnav_community_ov = new Image();isimages.topnav_community_ov.src = "/common/images/topnav_community_ov.gif";isimages.topnav_blog_df = new Image();isimages.topnav_blog_df.src= "/common/images/topnav_blog.gif";isimages.topnav_blog_ov = new Image();isimages.topnav_blog_ov.src = "/common/images/topnav_blog_ov.gif";isimages.topnav_store_df = new Image();isimages.topnav_store_df.src= "/common/images/topnav_store.gif";isimages.topnav_store_ov = new Image();isimages.topnav_store_ov.src = "/common/images/topnav_store_ov.gif";isimages.topnav_support_df = new Image();isimages.topnav_support_df.src= "/common/images/topnav_support.gif";isimages.topnav_support_ov = new Image();isimages.topnav_support_ov.src = "/common/images/topnav_support_ov.gif";/*isimages.loginnav_login_df = new Image();isimages.loginnav_login_df.src= "/common/images/loginnav_login.gif";isimages.loginnav_login_ov = new Image();isimages.loginnav_login_ov.src = "/common/images/loginnav_login_ov.gif";isimages.loginnav_tour_df = new Image();isimages.loginnav_tour_df.src= "/common/images/loginnav_tour.gif";isimages.loginnav_tour_ov = new Image();isimages.loginnav_tour_ov.src = "/common/images/loginnav_tour_ov.gif";isimages.loginnav_joinnow_df = new Image();isimages.loginnav_joinnow_df.src= "/common/images/loginnav_joinnow.gif";isimages.loginnav_joinnow_ov = new Image();isimages.loginnav_joinnow_ov.src = "/common/images/loginnav_joinnow_ov.gif";isimages.loginnav_logout_df = new Image();isimages.loginnav_logout_df.src= "/common/images/loginnav_logout.gif";isimages.loginnav_logout_ov = new Image();isimages.loginnav_logout_ov.src = "/common/images/loginnav_logout_ov.gif";isimages.loginnav_bonussites_df = new Image();isimages.loginnav_bonussites_df.src= "/common/images/loginnav_bonussites.gif";isimages.loginnav_bonussites_ov = new Image();isimages.loginnav_bonussites_ov.src = "/common/images/loginnav_bonussites_ov.gif";isimages.loginnav_hotlinks_df = new Image();isimages.loginnav_hotlinks_df.src= "/common/images/loginnav_hotlinks.gif";isimages.loginnav_hotlinks_ov = new Image();isimages.loginnav_hotlinks_ov.src = "/common/images/loginnav_hotlinks_ov.gif";*/isimages.rate_thumbsup_df = new Image();isimages.rate_thumbsup_df.src= "/common/images/thumb_up.gif";isimages.rate_thumbsup_ov = new Image();isimages.rate_thumbsup_ov.src = "/common/images/thumb_up_ov.gif";isimages.rate_thumbsdown_df = new Image();isimages.rate_thumbsdown_df.src= "/common/images/thumb_down.gif";isimages.rate_thumbsdown_ov = new Image();isimages.rate_thumbsdown_ov.src = "/common/images/thumb_down_ov.gif";}function makeFlash(fileName,width,height,version,forGoogle){	document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=" + version + ",0,0,0' width='" + width + "' height='" + height + "' id='" + fileName + "' align='middle'");	document.write("<param name='allowScriptAccess' value='sameDomain' />");	document.write("<param name='movie' value='" + fileName + "' />");	document.write("<param name='quality' value='high' />");	document.write("<param name='bgcolor' value='#999999' />");	document.write("<embed src='" + fileName + "' quality='high' bgcolor='#999999' width='" + width + "' height='" + height + "' name='" + fileName + "' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");	document.write("<div class='fstyle'>" + forGoogle + "</div>");	document.write("</object>");}function blanker (form_element) {	// alert ("The form element is " + form_element);	switch (form_element) {    	case "email_address":    		if (newletterSignup.email_address.value == "EMAIL ADDRESS") {    			newletterSignup.email_address.value = "";    		} else if (newletterSignup.email_address.value == "") {    			newletterSignup.email_address.value = "EMAIL ADDRESS"    		}    		break;    	case "firstname":    		if (newletterSignup.firstname.value == "FIRST NAME") {    			newletterSignup.firstname.value = "";    		} else if (newletterSignup.firstname.value == "") {    			newletterSignup.firstname.value = "FIRST NAME"    		}    		break;    	case "lastname":    		if (newletterSignup.lastname.value == "LAST NAME") {    			newletterSignup.lastname.value = "";    		} else if (newletterSignup.lastname.value == "") {    			newletterSignup.lastname.value = "LAST NAME"    		}    		break;    	case "nickname":    		if (commentForm.nickname.value == "NICKNAME") {    			commentForm.nickname.value = "";    		} else if (commentForm.nickname.value == "") {    			commentForm.nickname.value = "NICKNAME"    		}    		break;   	    	case "comment":    		if (commentForm.comment.value == "ADD YOUR COMMENT") {    			commentForm.comment.value = "";    		} else if (commentForm.comment.value == "") {    			commentForm.comment.value = "ADD YOUR COMMENT"    		}    		break;    } 	// end switch}function emailCheck (emailStr) {	/* The following variable tells the rest of the function whether or not	to verify that the address ends in a two-letter country or well-known	TLD.  1 means check it, 0 means don't. */		var checkTLD=1;		/* The following is the list of known TLDs that an e-mail address must end with. */		var knownDomsPat=/^(com|net|org|edu|int|mil|gov|arpa|biz|aero|name|coop|info|pro|museum)$/;		/* The following pattern is used to check if the entered e-mail address	fits the user@domain format.  It also is used to separate the username	from the domain. */		var emailPat=/^(.+)@(.+)$/;		/* The following string represents the pattern for matching all special	characters.  We don't want to allow special characters in the address. 	These characters include ( ) < > @ , ; : \ " . [ ] */		var specialChars="\\(\\)><@,;:\\\\\\\"\\.\\[\\]";		/* The following string represents the range of characters allowed in a 	username or domainname.  It really states which chars aren't allowed.*/		var validChars="\[^\\s" + specialChars + "\]";		/* The following pattern applies if the "user" is a quoted string (in	which case, there are no rules about which characters are allowed	and which aren't; anything goes).  E.g. "jiminy cricket"@disney.com	is a legal e-mail address. */		var quotedUser="(\"[^\"]*\")";		/* The following pattern applies for domains that are IP addresses,	rather than symbolic names.  E.g. joe@[123.124.233.4] is a legal	e-mail address. NOTE: The square brackets are required. */		var ipDomainPat=/^\[(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})\]$/;		/* The following string represents an atom (basically a series of non-special characters.) */		var atom=validChars + '+';		/* The following string represents one word in the typical username.	For example, in john.doe@somewhere.com, john and doe are words.	Basically, a word is either an atom or quoted string. */		var word="(" + atom + "|" + quotedUser + ")";		// The following pattern describes the structure of the user		var userPat=new RegExp("^" + word + "(\\." + word + ")*$");		/* The following pattern describes the structure of a normal symbolic	domain, as opposed to ipDomainPat, shown above. */		var domainPat=new RegExp("^" + atom + "(\\." + atom +")*$");		/* Finally, let's start trying to figure out if the supplied address is valid. */		/* Begin with the coarse pattern to simply break up user@domain into	different pieces that are easy to analyze. */		var matchArray=emailStr.match(emailPat);		if (matchArray==null) {		/* Too many/few @'s or something; basically, this address doesn't	even fit the general mould of a valid e-mail address. */		alert("Email address seems incorrect (check @ and .'s)");	return false;	}	var user=matchArray[1];	var domain=matchArray[2];		// Start by checking that only basic ASCII characters are in the strings (0-127).		for (i=0; i<user.length; i++) {	if (user.charCodeAt(i)>127) {	alert("Ths username contains invalid characters.");	return false;	   }	}	for (i=0; i<domain.length; i++) {	if (domain.charCodeAt(i)>127) {	alert("Ths domain name contains invalid characters.");	return false;	   }	}		// See if "user" is valid 		if (user.match(userPat)==null) {		// user is not valid		alert("The username doesn't seem to be valid.");	return false;	}		/* if the e-mail address is at an IP address (as opposed to a symbolic	host name) make sure the IP address is valid. */		var IPArray=domain.match(ipDomainPat);	if (IPArray!=null) {		// this is an IP address		for (var i=1;i<=4;i++) {	if (IPArray[i]>255) {	alert("Destination IP address is invalid!");	return false;	   }	}	return true;	}		// Domain is symbolic name.  Check if it's valid.	 	var atomPat=new RegExp("^" + atom + "$");	var domArr=domain.split(".");	var len=domArr.length;	for (i=0;i<len;i++) {	if (domArr[i].search(atomPat)==-1) {	alert("The domain name does not seem to be valid.");	return false;	   }	}		/* domain name seems valid, but now make sure that it ends in a	known top-level domain (like com, edu, gov) or a two-letter word,	representing country (uk, nl), and that there's a hostname preceding 	the domain or country. */		if (checkTLD && domArr[domArr.length-1].length!=2 && 	domArr[domArr.length-1].search(knownDomsPat)==-1) {	alert("The address must end in a well-known domain or two letter " + "country.");	return false;	}		// Make sure there's a host name preceding the domain.		if (len<2) {	alert("This address is missing a hostname!");	return false;	}		if (newletterSignup.firstname.value == "FIRST NAME") {		alert("Please provide a first name");		return false;	}	if (newletterSignup.firstname.value == "LAST NAME") {		newletterSignup.firstname.value = "";	}				// If we've gotten this far, everything's valid!	return true;}function insertMovie(url,autoplay,loop,controller) {	document.write("<object CLASSID='clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B' width='640' height='490' CODEBASE='http://www.apple.com/qtactivex/qtplugin.cab'>");	document.write("<param name='src' value='" + url + "'>");	document.write("<param name='qtsrc' value='" + url + "'>");	document.write("<param name='autoplay' value='" + autoplay + "'>");	document.write("<param name='loop' value='" + loop + "'>");	document.write("<param name='controller' value='" + controller + "'>");	document.write("<embed src='" + url + "' qtsrc='" + url + "' width='640' height='490' autoplay='" + autplay + "' loop='" + loop + "' controller='" + controller + "' pluginspage='http://www.apple.com/quicktime/'></embed>");	document.write("</object>");}function openWindow(url,width,height,scroll,resize) {	window.open(url,'gallery','height='+height+',width='+width+',screenX=100,screenY=100,top=100,left=100,toolbar=no,directories=no,status=no,menubar=no,scrollbars='+scroll+',resizable='+resize+'');}