function goPop(url) {
var winW = 800;
var winH = 700;
var winX = (screen.availWidth - winW) / 2;
var winY = (screen.availHeight - winH) / 2;
var features = 'left='+winX+',top='+winY+',width='+winW+',height='+winH+',toolbar=0,location=0,status=0,scrollbars= 1,resizable=0';
var popWin = window.open(url,popWin,features);
if (popWin) {
popWin.focus();
} else {
window.location.href = url;
}
}

function detailPop(url) {
var winW2 = 1000;
var winH2 = 700;
var winX2 = (screen.availWidth - winW2) / 2;
var winY2 = (screen.availHeight - winH2) / 2;
var features = 'left='+winX2+',top='+winY2+',width='+winW2+',height='+winH2+',toolbar=0,location=1,status=0,scrollbars= 1,resizable=0';
var popWin2 = window.open(url,popWin2,features);
if (popWin2) {
popWin2.focus();
} else {
window.location.href = url;
}
}

var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
function jc() {
    return InternetExplorer ? parent.fo : parent.document.embeds[0];
}







<!--
notIE=document.getElementById&&!document.all
heightOffset=20

function resizeIframe(id){
/*
this.obj=obj
//this.obj.width=null
//this.obj.width=window.frames["sizeframe"].document.body.scrollWidth
this.obj.style.height="" // for Firefox and Opera
setTimeout("this.obj.style.height=this.obj.contentWindow.document.body.scrollHeight+(notIE?heightOffset:0)",100) // setTimeout required for Opera
*/

el=document.getElementById(id)
el.style.height="100" // for Firefox and Opera
setTimeout("el.style.height=el.contentWindow.document.body.scrollHeight+'px'",10) // setTimeout required for Opera
}

// -->