	



var flashOn = "";



var cur_country = "0";



var cur_type = "0";



var cur_type2 = "";



var nocookie = false;



var is_windows = (navigator.appVersion.indexOf("Win") != -1);



var is_mac = (navigator.appVersion.indexOf("Mac") != -1);



var is_netscape = (navigator.appName.indexOf("Netscape") != -1);



var ns6 = (is_netscape && navigator.appVersion.slice(0,1) >= 5);



var can_persist = false;



var is_IE6;







//Check if this computer supports persistence (must be windows with IE >=5.0)



if (is_windows)



{



    var iStart = navigator.appVersion.indexOf("MSIE") + 5;



    var iEnd = navigator.appVersion.indexOf(";",iStart);



    var aParse = navigator.appVersion.substring(iStart,iEnd).split(".");



    if (aParse[0] >= 5) can_persist = true;







    //Check if IE 6.0



    if (aParse[0] == 6)



        is_IE6 = true;



}



//Check if cookies are enabled







if (!can_persist)



{



    document.cookie = "Test=testCookie";



    if (document.cookie == ""){



        nocookie = true;



    }



}



	
function call_country(country) // Called from the left hand navigation flash files.
//function call_country(country,sidenav) // Called from the left hand navigation flash files.
{


	// Added by JS on 3/27/03--------------------------
	moveFlashOut('phototourflash');
	MM_showHideLayers('countrymap','','hide');
	MM_showHideLayers('phototourflash','','hide'); 
	musicHideButton();
	musicOff();
	MM_showHideLayers('audioon','','hide','audiooff','','hide');
	//-------------------------------------------------
	checkForPTMovie();
	cur_country = country;
	
		
	// loads country bg based upon user selection
	MM_swapImage('image3','','graphics/cntry_' + cur_country + '.jpg',1); 
	MM_swapImage('Image1','','graphics/topnav_map.jpg',1);
	MM_showHideLayers('regionbackground','','hide','countryinfo','','hide','btnreplayflyover','','hide','countrybg','','show');

	// loads country map graphic based upon user selection from left nav
    var obj = MM_findObj("countryMap");
	obj.src="graphics/map_" + cur_country + ".jpg"; 
	setTimeout("MM_showHideLayers('countrymap','','show','topnavbar','','show');",0); 	
	if(cur_type == "0")
	{
		cur_type = "map";
	}

	if(cur_type == "pt")
	{
		// Added by JS on 3/27/03--------------------------
		MM_controlShockwave('flashMovie','','Play');
		MM_showHideLayers('phototourflash','','show');
		//-------------------------------------------------
		MM_showHideLayers('countrymap','','hide');
		moveFlashOut('phototourflash');
		musicOff();
		musicHideButton();
	}
	if(cur_type == "tl")
	{
		// Added by JS on 3/27/03--------------------------
		MM_controlShockwave('flashMovie','','Play');
		MM_showHideLayers('phototourflash','','show');
		//-------------------------------------------------
		MM_showHideLayers('countrymap','','hide');
		moveFlashOut('phototourflash');
	}

	// needed to allow for user to be able to switch between two maps for australia
	if (cur_country == "australia") 
		{
			MM_showHideLayers('ausipopmap','','show');
		}
	else
	{
		MM_showHideLayers('ausipopmap','','hide','ausiclimatemap','','hide');
	}
}







function call_exit()



{



	window.location="credits.htm";



}







function call_exit_with_bookmark()



{



    var region = getCookieValue("CInfo","crg");



    if (region != "0")



        show_Alert("alert_bookmark.htm?Country=" + cur_country,300,123);



    else



    	window.location = "credits.htm";



}











function call_logoscreen()



{



	top.window.close();



	//launches logoscreen in original opening window



	



 	if (is_netscape)



		window.open("logoscreen2.htm","PrenticeHall","outerWidth=800,outerHeight=500,scrollbars=0");



    else if (is_windows)



		window.open("logoscreen.htm","PrenticeHall","width=790,height=571,scrollbars=0");



	else 



    {



        if (screen.height > 600)



    		window.open("logoscreen.htm","PrenticeHall","width='790', height='571', scrollbars=0");



        else



        {



            moveTo(0,0)



    		window.open("logoscreen.htm","PrenticeHall","screenX=0, screenY=0, width='790', height='571', resizable='yes', scrollbars=0");



        }



    }







}











function call_glossary()



{



	window.open('glossary.htm','winGlossary','width=275,height=440');



}







function call_help(helptype)
{  
	if (is_mac)
		if (is_netscape)
			window.open("help_" + helptype + ".htm","help","outerWidth=729,outerHeight=500,scrollbars=0");
		else
			window.open("help_" + helptype + ".htm","help","width='716', height='469', scrollbars=0");
	else		
		window.open('help_' + helptype + '.htm','help','width=716,height=469');
}


function call_helpChoose()
{
	clearCharacterMap2();
	character = MM_findObj("character");
	character.innerHTML = "";

	if (document.all)
	{
		if (is_mac)
		{	
			window.open("help_country.htm","help","width='716', height='469', scrollbars=0");
		}
		else		
		{
			window.open('help_country.htm','help','width=716,height=469');
		}
	}
	else
	{
		if (is_mac)
		{
			window.open("help_region.htm","help","width='716', height='469', scrollbars=0");
		}
		else		
		{
			window.open('help_region.htm','help','width=716,height=469');
		}
	}
}







function call_journal()



{  



    if(!top.vars) top.vars.journalWin = window.open('journal2.htm','winJournal','width=275,height=389');   



    else if (!top.vars.journalWin)



        top.vars.journalWin = window.open('journal2.htm','winJournal','width=275,height=389');        



    else



        top.vars.journalWin.focus();



}







function call_passport()



{  



	// closes phototour video is open



	checkForPTMovie(); 



    location = "passport_show3.htm";



    //MM_goToURL('parent','passport_show3.htm');return document.MM_returnValue;



}







function call_passportPrint()



{



    if (is_mac)

		if (ns6)

        	window.open("passport_print3.htm","printWin","width='632',height='600',scrollbars=0");

		else if (is_netscape)

			window.open("passport_print4.htm","printWin","width='532',height='600',scrollbars=0");

		else

			window.open("passport_print3.htm","printWin","width='632',height='600',scrollbars=0");

			

    else if (is_netscape)

		window.open("passport_print4.htm","printWin","width='532',height='600',scrollbars=0");

	else

        window.open("passport_print3.htm","printWin","width=632,height=600,resizable=0");



}







function call_map()

{
	cur_type='map';
	checkForPTMovie();
	musicOff();
	musicHideButton();
	moveFlashOut('phototourflash');
	MM_showHideLayers('phototourflash','','hide');
	MM_showHideLayers('countrymap','','show');
	var obj = MM_findObj("countryMap");
	obj.src="graphics/map_" + cur_country + ".jpg"; 
	setTimeout("MM_swapImage('Image1','','graphics/topnav_map.jpg',1)",500);
}



function call_photocredits()



{  



	if (is_mac)



		window.open("photocredit2.htm","photocredits","width='450', height='550', scrollbars=1");



	else		



		window.open('photocredit2.htm','photocredits','width=450,height=550,scrollbars=1');



}










function call_phototour()
{

	// Added by JS on 4/11/03--------------------------
	var obj = MM_findObj("countryMap");
	obj.src="graphics/invisiblenavbtn.gif"; 
	//-------------------------------------------------
	
	MM_showHideLayers('countrymap','','hide');
	MM_swapImage('Image1','','graphics/topnav_phototour.jpg',1);
	moveFlashIn('phototourflash','pt');
	setTimeout("musicOn()",2000);
}







function call_timeline()
{
	// Added by JS on 4/11/03--------------------------
	var obj = MM_findObj("countryMap");
	obj.src="graphics/invisiblenavbtn.gif"; 
	//-------------------------------------------------
	checkForPTMovie();
	musicHideButton();
	moveFlashIn('phototourflash','tl');
	setTimeout("MM_swapImage('Image1','','graphics/topnav_timeline.jpg',1)",500);
}







function call_regionmap()
{
	checkForPTMovie(); // closes phototour video is open
	MM_showHideLayers('btnreplayflyover','','show','sidenav','','show','worldmapnav','','show','helpexitnav','','show','topnavbar','','hide','countrybg','','hide','ausipopmap','','hide','ausiclimatemap','','hide','phototourflash','','hide','replayflyover','','show','regionbackground','','show','countrymap','','hide');
	MM_swapImage('Image1','','graphics/topnav_map.jpg','image3')
	if(cur_type == "pt")
	{
		moveFlashOut('phototourflash');
		musicOff();
		musicHideButton();		
	}
	if(cur_type == "tl")
	{
		moveFlashOut('phototourflash');
	}
	cur_type = "0";
    cur_country = "0";
}







function checkForPTMovie()
{
	if (is_windows)
	{
        obj = MM_findObj("subptmovie");
        if (is_netscape && !ns6)
        {
            if (obj.visibility == "visible")
                closeMovie();
        }
        else
        {
    		if (obj.style.visibility == "visible")
    			closeMovie(); 
        }
	}
}







function clearCharacterMap2() // clears character from region map



{



	setTimeout("clearCharacterMap3()",1000);



}	







function clearCharacterMap3()



{	



	obj = MM_findObj("character");



    if (is_netscape && !ns6)



        obj.Top = -378;



    else    



    	obj.style.top = -378;



	



	MM_showHideLayers("character","","hide","sidenav","","show","regionbackground2","","hide","regionbackground","","show");



}







function characterLayerMap()



{



	MM_showHideLayers("regionbackground2","","show");



}







function closeApp()



{



	window.close();



}







function closeMovie()
{  
//    alert("closeMovie");
//	if (is_windows)
//	{
		MM_controlShockwave('flashMovie','','StopPlay');
		obj = MM_findObj("subptmovie");
        writeto_Layer(obj,"");
//		obj.innerHTML = "";
		MM_showHideLayers('subptmovie','','hide','closemovie','','hide');
//	}
}




function getSubString(strSearch,strStart, strEnd)



{



    var nStart, nEnd







    // Find the start of strStart.



    nStart = strSearch.indexOf(strStart);







    // If you found it,



    if(nStart != -1)



    {



        // skip strStart



        nStart += strStart.length;







        // Find strEnd



        nEnd = strSearch.indexOf(strEnd, nStart);











        if(nEnd == -1) nEnd = strSearch.length;



            // Return the value.



            return strSearch.substring(nStart, nEnd);



    } else



        {



        // If strSearch wasn't found



        return "";



        }



}







function getRegionFromHref(strSearch)



{



    var nStart,nStart2, nEnd;







    // Find the start of region name



    nStart = strSearch.lastIndexOf("/");







    // If you found it,



    if(nStart != -1)



    {



        // Check for other path separater



        nStart2 = strSearch.lastIndexOf("\\");







        if (nStart2 != -1 && nStart2 > nStart) nStart = nStart2;







        // Find strEnd



        nEnd = strSearch.lastIndexOf(".");







        if(nEnd != -1)



            // Return the value.



            return strSearch.substring(nStart+1, nEnd);



    } 



    else



    {



        // Check for other path separater



        nStart = strSearch.lastIndexOf("\\");



    



        // If you found it,



        if (nStart != -1)



        {



            // Find strEnd



            nEnd = strSearch.lastIndexOf(".");



    



            if(nEnd != -1)



            // Return the value.



            return strSearch.substring(nStart+1, nEnd);



        }



        else                        



            // If strSearch wasn't found



            return false;



    }



}







function getCookieContents(CookieName)



{



    // Declare variables.



    var firstChar, lastChar;







    // Get the entire cookie string.



    // (This may have other name=value pairs in it.)



    var allCookies = unescape(document.cookie);







    // Find the start of 'CookieName'.



    firstChar = allCookies.indexOf(CookieName + "=");







    // If you found it,



    if(firstChar != -1)



    {



        // skip 'CookieName' and '='.



        firstChar += CookieName.length + 1;







        // Find the end of the value string (i.e. the next ';').



        lastChar = allCookies.indexOf(';', firstChar);











        if(lastChar == -1) lastChar = allCookies.length;







        // Return the value.



        return allCookies.substring(firstChar, lastChar);







    } else



        {



        // If there was no cookie, return false.



        return "false";



        }



}







function parseCookieContents(Cookie_Contents,Cookie_Info)







{



    //Cookie_Contents = Name1:Value1/Name2:Value2/.../NameX/ValueX



	// Split cookie contents into Name:Value pairs



	var nameValuePairs = Cookie_Contents.split("~");



	// loop through the list of name:values and load and load up the Cookie_Info array







	var property_value = "";







	for (loop = 0; loop < nameValuePairs.length; loop++) 



	{



		name_value = nameValuePairs[loop];



		var broken_info = name_value.split("^");



		var the_name = broken_info[0];



		var the_value = broken_info[1];



		Cookie_Info[the_name] = the_value;



	}



}







function getCookieValue(cookieName, valueName)



{



    var Cookie_Contents = getCookieContents(cookieName);







    if (Cookie_Contents == "false") 



        return "false";



    else



        {



        var cookie_info = new Array();



        parseCookieContents(Cookie_Contents,cookie_info);



        return unescape(cookie_info[valueName]);



        }



}







function setCookieValue(cookieName, valueName, value)



{



    var Cookie_Contents = getCookieContents(cookieName);







    if (Cookie_Contents == "false") 



        return "false";



    else



        {



    	var nameValuePairs = Cookie_Contents.split("~");



    	var property_value = "";



        var cookieData = "";



	    for (loop = 0; loop < nameValuePairs.length; loop++) 



        	{



        		var name_value = nameValuePairs[loop];



        		var broken_info = name_value.split("^");



        		var the_name = broken_info[0];



                if (the_name == valueName)



                    var the_value = value;



                else



            		var the_value = broken_info[1];







                cookieData += the_name + "^" + the_value + "~";



            }



            //Remove trailing slash "/"



            cookieData = cookieData.substr(0,cookieData.length-1);



            writeCookie(cookieName,cookieData);



        }



}







function getPersistenceValue(objPersist,userID, valueName)



{



    objPersist.load(userID);   



    var userInfo = objPersist.getAttribute("sUserInfo");



    //alert("UserID=" + userID + " UserInfo=" + userInfo);



    if (userInfo == null)



        return "false";



    else



    {



        var user_info = new Array();



        parseCookieContents(userInfo,user_info);



        return(user_info[valueName]);



    }



}







function setPersistenceValue(objPersist, userID, valueName, value)



{



    objPersist.load(userID);   



    var userInfo = objPersist.getAttribute("sUserInfo");



    if (userInfo == null)



        return "false";



    else



        {



    	var nameValuePairs = userInfo.split("~");



    	var property_value = "";



        var userData = "";







	    for (loop = 0; loop < nameValuePairs.length; loop++) 



        	{



        		var name_value = nameValuePairs[loop];



        		var broken_info = name_value.split("^");



        		var the_name = broken_info[0];



                if (the_name == valueName)



                    var the_value = value;



                else



            		var the_value = broken_info[1];







                userData += the_name + "^" + the_value + "~";



            }



            //Remove trailing slash "/"



            userData = userData.substr(0,userData.length-1);







//            alert("UserData=" + userData);







            //Write UserInfo



            writePersistence(objPersist,userID,userData);



        }



}







function writeCookie(cookieName,cookieData)



{



    var today = new Date();



    var expiry = new Date(today.getTime() + 120 * 24 * 60 * 60 * 1000); // plus 120 days



    document.cookie = cookieName + "=" + escape(cookieData) + ";expires=" + expiry.toGMTString();



}







function writePersistence(objPersist,userID,userData)



{



    var timeNow = new Date();



    timeNow.setTime(timeNow.getTime() + 120 * 24 * 60 * 60 * 1000);     //plus 120 days



    var sExpirationDate = timeNow.toUTCString();







    objPersist.expires = sExpirationDate



    objPersist.setAttribute("sUserInfo",userData);



    objPersist.save(userID);   



}







function getHREF(strURL)



{



    //Function parses off the search string



    var tmpURL = strURL.split("?");



    return tmpURL[0];



}







function getLocation(strURL)



{



    //Function parses off the file



    strURL = getHREF(strURL);



    var nEnd = strURL.lastIndexOf("/");



    return strURL.substring(0,nEnd);



}







function LaunchMovie(URLtoOpen,windowName,windowFeatures)



{



	newWindow=window.open(URLtoOpen,windowName,windowFeatures);



}







function MFX_loadURL(L,URL,w,pw,h,ph){



	//Copyright © 1999 m.milicevic machakjoe@hotmail.com jjooee@chello.nl



	NN=navigator.appName=='Netscape';



	allX = (NN) ? window.innerWidth : document.body.clientWidth;



	allY = (NN) ? window.innerHeight : document.body.clientHeight;



	if(document.layers){



	L=eval(L)



	if(w){if(pw){



	L.clip.width=(allX/100)*w;}



	else {L.clip.width=w;}}



	if(h){if(ph){L.clip.height=(allY/100)*h;}



	else{L.clip.height=h}}



	if(!w)w=L.clip.width;



	L.load(URL,L.clip.width);



	}



	if(document.all){



	eval("L=L.replace(/.layers/gi, '.all')");



	if(w){if(pw){



	w=eval(L + ".style.pixelWidth=\""+(allX/100)*w+"\"");}



	else{w=eval(L + ".style.pixelWidth=\""+w+"\"");}}



	if(h){if(ph){



	h=eval(L + ".style.pixelHeight=\""+(allY/100)*h+"\"");}



	else{h=eval(L + ".style.pixelHeight=\""+h+"\"")}}



	if(!w)w=eval(L + ".style.pixelWidth");



	if(!h)h=eval(L + ".style.pixelHeight");



	myVar="<object type=text/x-scriptlet width="+w+" height="+h+" data="+URL+"></object>"



	eval(L + ".innerHTML =\""+myVar+"\"");



	}



		document.MM_returnValue = false;



}







function MM_callJS(jsStr) { //v2.0



  return eval(jsStr)



}







function MM_findObj(n, d) { //v4.0



  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {



    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}



  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];



  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);



  if(!x && document.getElementById) x=document.getElementById(n); return x;



}



function MM_goToURL() { //v3.0



  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;



  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");



}







function MM_openBrWindow(theURL,winName,features) //v2.0



{	



  window.open(theURL,winName,features);



}







function MM_popupMsg(msg) { //v1.0



  alert(msg);



}







function MM_preloadImages() { //v3.0



  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();



    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)



    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}



}







function MM_setTextOfLayer(objName,x,newText) { //v3.0



  if ((obj=MM_findObj(objName))!=null) with (obj)



    if (navigator.appName=='Netscape') {document.write(unescape(newText)); document.close();}



    else innerHTML = unescape(newText);



}







function MM_showHideLayers() { //v3.0



  var i,p,v,obj,args=MM_showHideLayers.arguments;



  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];



    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }



    obj.visibility=v; }



}







function MM_swapImage() { //v3.0



  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)



   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}



}







function MM_swapImgRestore() { //v3.0



  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;



}







function moveFlashIn(objName,type) // dynamically sets flash layer content for phototour, photouraudio and timeline
{
	cur_type = type;
	if (cur_country == "australia") // needed to allow for user to be able to switch between two maps for australia
	{
		MM_showHideLayers('ausiclimatemap','','hide','ausipopmap','','hide');
	}
	obj=MM_findObj(objName);
	// phototour from mac folder - does not have checkForPTMovie function call for thumbs. Caused flashing on MAC.
	// also checks to see if flash is phototour or timeline. Only phototour affected.
	if ((is_mac) && (type == "pt"))
	{
        var sString = "<embed src='flash/mac/" + type + "_" + cur_country + ".swf' quality='high' swLiveConnect='true' pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width='656' height='401' name='" + type + "' bgcolor='#CC6600' wmode='transparent'></embed>";
        writeto_Layer(obj,sString);
	}
	else
	{
        var sString = "<embed src='flash/" + type + "_" + cur_country + ".swf' quality='high' swLiveConnect='true' pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width='656' height='401' name='" + type + "' bgcolor='#CC6600' wmode='transparent'></embed>";
        writeto_Layer(obj,sString);
	}
	MM_showHideLayers(objName,'','show');
}







function moveFlashOut(objName) // clears out flash layer used for phototour and timeline flash components



{



	obj = MM_findObj("phototourflash");
    writeto_Layer(obj,"");
	if (cur_country == "australia") // needed to allow for user to be able to switch between two maps for australia
	{
		MM_showHideLayers('ausiclimatemap','','show','ausipopmap','','hide');
	}
}







function musicHideButton()
{
	MM_showHideLayers('audioon','','hide','audiooff','','hide');
	obj = MM_findObj("sound");
    writeto_Layer(obj,"");
}



function musicOn()



{



	MM_showHideLayers('audioon','','hide','audiooff','','show');



    setTimeout("musicPlay()", 500);



//    alert(obj);



}







function musicPlay()



{



	obj = MM_findObj("sound");



    var sString = "<embed src='flash/" + cur_country + "_audio.swf' quality=high pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width='20' height='20'></embed>";



    writeto_Layer(obj,sString);



}







function musicOff()
{
	MM_showHideLayers('audioon','','show','audiooff','','hide');
	obj = MM_findObj("sound");
    var sString = "";
    writeto_Layer(obj,sString);
}







function setPtMovie(movie)



{



    if (is_netscape && !ns6)



  {



		window.open('ptvideomovie_ns.htm?movieName=' + escape(movie),'ptVideoMovie','width=381,height=300');



    }



	else if (is_windows)



	{



		obj=MM_findObj("subptmovie");



        var sString = "<embed width='396' height='312' src='movies/" + movie + ".mov' autoplay='true' controller='true' QTNEXT1='<javascript:closeMovie();>' PLUGINSPAGE='http://www.apple.com/quicktime/download/'></embed>";



        writeto_Layer(obj,sString);



		MM_showHideLayers("closemovie",'','show',"subptmovie",'','show',"phototouraudio",'','show');



	}



	else



	{



		window.open('ptvideomovie.htm?movieName=' + escape(movie),'ptVideoMovie','width=381,height=300');



	}



	musicOff();



}







function submitApp()



{



		document.register.action = "passport_submit.htm";



		document.register.submit();



}	







function submitForm()



{



		document.login.action = "passport_submit.htm";



		document.login.submit();



}







function thisMovie(movie) // used inconjunction with function setsideNav



{



	return document[movie];



}







function tmt_findObj(n){



	var x,t; if((n.indexOf("?"))>0&&parent.frames.length){t=n.split("?");



	x=eval("parent.frames['"+t[1]+"'].document.getElementById('"+t[0]+"')");



	}else{x=document.getElementById(n)}return x;



}







function show_Alert(URL,iWidth,iHeight)



{



    if (is_mac)



        window.open(URL,"alertWin","width='" + iWidth + "', height='" + iHeight + "', scrollbars=0");



    else



        window.open(URL,"alertWin","width=" + iWidth + ",height=" + iHeight + ",resizable=0");



}







function writeto_Layer(lObj,lString)



{



     if (is_netscape && !ns6)



    {



        //lObj.document.open();



        lObj.document.write(lString);



        lObj.document.close();



    }



    else



        lObj.innerHTML= lString;







}



