
// gia open win
function openwin(image,x,y) {
pic=window.open("","cleanmax","width="+x+",height="+(y+20)+",titlebar=yes,menubar=no,toolbar=no,status=no,scrollbars=no,resizable=no,hotkeys=yes");
window.pic.document.open();
content='<html><head><title>cleanmax</title></head><body topmargin="0" leftmargin="0" marginwidth="0" margineight="0" bgcolor="#FFFFFF" onblur="self.close()">';
content+='<img src="../../../common/scripts/'+image+'" width="'+x+'" height="'+y+'" border="0"><br><center><a href="javascript:self.close()"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#F13A3A">Window close</font></a></body></html>';
window.pic.document.write(content);
window.pic.document.close();
}


function ApplyImage(imagePath)
{
    var imageW = document.getElementById('imgWide');
    
    if(imageW!=null)
    {
        imageW.src = imagePath;
    }
}

