
function CPValue(s){return(typeof(CP$value)!="undefined"&&CP$value[s])?CP$value[s]:0;}
function PopUpMessage(){window.status="";}
var appVers=navigator.appVersion;var isMacIE=appVers.indexOf("Macintosh")!=-1&&appVers.indexOf("MSIE 5")!=-1;var answers=new Array();var isSafari=navigator.userAgent.indexOf("Safari")>-1||navigator.userAgent.indexOf("AppleWebKit")>-1;var isOpera=navigator.userAgent.indexOf("Opera")>-1;var isWinIE=appVers.indexOf("Macintosh")==-1&&appVers.indexOf("MSIE")!=-1&&!isOpera;function SetCookie(name,value)
{var path="/";document.cookie=name+"="+escape(value)
alert('cookieset');}
function writeToFile(contentValue){var TristateFalse=0;var ForWriting=2;var myActiveXObject=new ActiveXObject("Scripting.FileSystemObject");myActiveXObject.CreateTextFile("c:\\test.txt");var file=myActiveXObject.GetFile("c:\\test.txt");var text=file.OpenAsTextStream(ForWriting,TristateFalse);text.Write(contentValue);text.Close();}
function getmessage(xmlDoc2)
{alert(xmlDoc2.getElementsByTagName("SYNOPSIS")[0].firstChild.nodeValue);}
var xmlFeed=false;var gecko=(document.implementation&&document.implementation.createDocument)?true:false;var ie=(window.ActiveXObject&&document.all)?true:false;function fixXmlMimeType1(filename)
{oxmlhttp=null;try{oxmlhttp=new XMLHttpRequest();oxmlhttp.overrideMimeType("text/xml");}
catch(e){try{oxmlhttp=new ActiveXObject("Msxml2.XMLHTTP");}
catch(e){return null;}}
if(!oxmlhttp)
return null;try{oxmlhttp.open("GET",filename,false);oxmlhttp.send(null);}
catch(e){return null;}
return oxmlhttp.responseXML;}
function importXML1(FeedParserRSSFile)
{if(gecko)
{xmlFeed=document.implementation.createDocument("","",null);xmlFeed.async=false;xmlFeed=fixXmlMimeType(FeedParserRSSFile);}
else if(ie)
{xmlFeed=new ActiveXObject("Microsoft.XMLDOM");xmlFeed.async=false;xmlFeed.load(FeedParserRSSFile);}
else
return false;if(typeof xmlFeed!="undefined")
return xmlFeed;else
return false;}
