function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) { 
offset += search.length
end = document.cookie.indexOf(";", offset);
if (end == -1) end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}


if (get_cookie("interstitial")!="true"){
//first visit, play the interstitial

	if (location.href.indexOf("?")!=-1){
		urlArray=location.href.split("?");
		params=urlArray[1]; 
		keyvalue=params.split("=");
		key=keyvalue[0];
		value=keyvalue[1];
		top.location.href = "/playtime/interstitial.jhtml?page="+location.pathname+"&key="+key+"&value="+value;
	}
	else{
		top.location.href = "/playtime/interstitial.jhtml?page="+location.pathname;
	}
} else {
//Show Page
};