function GoActionSample(sno,type){
    doc =document.download;
    if(type =="htm"){
        openWidth  ="900";
        openHeight ="675";
        document.downloadCsd.book_sno.value  =sno;
        document.downloadCsd.book_type.value =type;
        var winl = (screen.width-openWidth)/2;
        var wint = (screen.height-openHeight)/2;
        objWindow =window.open("","csdViewer",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=auto,resizable=yes,copyhistory=0,width=' + openWidth + ',height=' + openHeight +',top=' + wint  + ',left=' + winl);
        objWindow.focus();
		document.downloadCsd.action ="DownLoadSample.Asp";
        document.downloadCsd.submit();
    }else{
        doc.book_sno.value  =sno;
        doc.book_type.value =type;
		doc.action ="DownLoadSample.Asp";
        doc.submit();
    }
}


function open_Page(theURL,winName,features) {
    popupPage =window.open(theURL,winName,features);
    popupPage.focus();
}

/**********
*PNGÆÄÀÏ Åõ¸íµµ¿ë ½ºÅ©¸³Æ®
*/
function setPng24(obj){
    obj.width=obj.height=1;
    obj.className=obj.className.replace(/\bpng24\b/i,'');
    obj.style.filter = 
    "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+ obj.src +"',sizingMethod='image');"
    obj.src='';
    return '';
}
