//<!--
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);

condition = !(( (browserName.indexOf("Explorer") >=0 ) && (browserVer < 4) ) ||  ((browserName.indexOf("Netscape") >=0 ) && (browserVer < 2) ) ) ; 

if (condition == true  )
    CanAnimate = true;
else
    CanAnimate = false;

function openchild(thisurl){
alert(thisurl)
if ( CanAnimate ){ 
        msgWindow=window.open( '' ,'subwindow','background-Color=#FFFFCC,toolbar=no,location=no,directories=no,status=yes,scrollbars=yes,menubar=no,resizable=yes,width=540,height=640');
        msgWindow.focus();
        msgWindow.location.href = thisurl;
}
else {
        msgWindow=window.open( thisurl,'subwindow','background-Color=#FFFFCC,toolbar=no,location=no,directories=no,status=yes,scrollbars=yes,menubar=no,resizable=yes,width=540,height=640');
}       

}



function openchild(sPicURL)
{
    
	 window.open( "/popup.html?" +sPicURL, "one", "resizable=1,width=500,height=540,scrollbars=yes");
	 
 }
function openchild2()
{
window.opener.location.pathname = "query.html?&pname="+ pname ;
window.close();    
 }

 
 
 

function openchild1(thisurl){
if ( CanAnimate ){ 
        msgWindow=window.open( '' ,'subwindow','toolbar=no,location=no,directories=no,status=yes,scrollbars=no,menubar=no,resizable=yes,width=660,height=590');
        msgWindow.focus();
        msgWindow.location.href = thisurl;
}
else {
        msgWindow=window.open( thisurl,'subwindow','toolbar=no,location=no,directories=no,status=yes,scrollbars=no,menubar=no,resizable=yes,width=660,height=590');
}       





}
//-->

