// JavaScript Documentfunction lia(url){	newwindow=window.open(url,'name','height=426,width=510,resizable=no,scrollbars=no,toolbar=no,status=yes');	if (window.focus) {newwindow.focus()}}function comic(loca)  {  var url = loca           //Set address of new window  var height = 500                       //Set height  var width = 650                       //Set width  var name = "comic"             //Set window name  var top = 30                            //Set distance from top  var left = 30                            //Set distance from bottom  newwin=window.open(url , name, "fullscreen=no,toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,directories=no,location=no,width=" + width + ",height=" + height + ",left=" + left + ",top=" + top);}function game(loca)  {  var url = loca           //Set address of new window  var height = 455                       //Set height  var width = 600                       //Set width  var name = "game"             //Set window name  var top = 30                            //Set distance from top  var left = 30                            //Set distance from bottom  newwin=window.open(url , name, "fullscreen=no,toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,directories=no,location=no,width=" + width + ",height=" + height + ",left=" + left + ",top=" + top);}function timeline(loca)  {  var url = loca           //Set address of new window  var height = 455                       //Set height  var width = 750                       //Set width  var name = "timeline"             //Set window name  var top = 30                            //Set distance from top  var left = 30                           //Set distance from bottom  newwin=window.open(url , name, "fullscreen=no,toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,directories=no,location=no,width=" + width + ",height=" + height + ",left=" + left + ",top=" + top);}function video(url){    var agt=navigator.userAgent.toLowerCase();	 if(agt.indexOf("mac")==-1) {		 //checkQuick();	var liaBuzzMovieObj = isInternetExplorer ? document.all.liaBuzzMovie : document.liaBuzzMovie;	liaBuzzMovieObj.SetVariable("_root.liaCookie", "true");	}	newwindow=window.open(url,'name','height=400,width=400,resizable=no,scrollbars=no,toolbar=no,status=yes');	if (window.focus) {newwindow.focus()}}function ie5Detect(loca)  {  var url = loca           //Set address of new window  var height = 500                       //Set height  var width = 500                       //Set width  var name = "timeline"             //Set window name  var top = 30                            //Set distance from top  var left = 30                           //Set distance from bottom  newwin=window.open(url , name, "fullscreen=no,toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,directories=no,location=no,width=" + width + ",height=" + height + ",left=" + left + ",top=" + top);}/*function checkQuick() {	var qtInstalled = false;	qtObj = false;	if (navigator.plugins && navigator.plugins.length) {		for (var i=0; i < navigator.plugins.length; i++ ) {         var plugin = navigator.plugins[i];         if (plugin.name.indexOf("QuickTime") > -1) {			qtInstalled = true;			         }      }	} else {		execScript('on error resume next: qtObj = IsObject(CreateObject("QuickTimeCheckObject.QuickTimeCheck.1"))','VBScript');		qtInstalled = qtObj;	}	if (qtInstalled == false) {	alert("You need to install quicktime...");	}	}*/// convert all characters to lowercase to simplify testingvar agt = navigator.userAgent.toLowerCase();var appVer = navigator.appVersion.toLowerCase();// *** BROWSER VERSION ***var is_minor = parseFloat(appVer);var is_major = parseInt(is_minor);//var is_mac = (agt.indexOf("mac") != -1);var iePos = appVer.indexOf('msie');////alert("its " +is_mac+" this a mac. "+" and it's running IE version -  "+is_minor);alert("its " +is_mac+" this a mac. "+" and it's running IE version -  "+is_minor);alert("its " +is_mac+" this a mac. "+" and it's running IE version -  "+is_minor);if (iePos != -1) {	if (is_mac) {		var iePos = agt.indexOf('msie');		is_minor = parseFloat(agt.substring(iePos+5, agt.indexOf(';', iePos)));		//Place code here to deal with mac users running IE.		var cookieData = new String(document.cookie)		var cookieStart = cookieData.indexOf("alertedIEMAC=")		if (cookieStart == -1){	      	document.cookie = "alertedIEMAC=true"			//call the popup function for the alert content here...			ie5Detect("ie5.html");		}	}}