// For PopUp
function popUp(URL, W, H, S) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=" + S + ",location=0,statusbar=0,menubar=0,resizable=0,width=" + W + ",height=" + H +",left = 315,top = 262');");
}
// show / hide product class name menu function
var bDoesDHTML = ( (navigator.userAgent.indexOf("MSIE") >= 0) && (navigator.appVersion.substring(0,1) >= 4) )

if(bDoesDHTML){document.write("<STYLE>.off{display:none}</STYLE>")}
function table_Bg(tdName)  {
    if (tdName.className=="setStatic"){
      tdName.className="offset";
    }else{
      tdName.className="setStatic";
    }
}
function doSection(secNum){
    if (bDoesDHTML){
      //display the section if hidden; hide it if it is displayed
          //alert(secNum.id);
      if (secNum.className=="off"){
         secNum.className="on";
      }else{
        secNum.className="off";
      }
    }
}

function change(index,color)
{
  index.style.color=color;
}

function rechange(index,color)
{
  index.style.color=color;
}

function openwin(imgfile,title){
  alert(imgfile);
  window.open("/products/prdFront_img.php?imgfile="+imgfile+"&title="+title,"thiswin","width=600,height=150");
}

function winopen(releaseNote_flag,pdid,type){

  if(releaseNote_flag==1)

    window.open("/download/releaseNote.php?pdid="+pdid+"&type="+type,"thiswin","width=470,height=405");

  else if(releaseNote_flag==0)

    window.open("/download/download_license.php?pdid="+pdid+"&type="+type,"thiswin","width=470,height=405");

}

function winopen_docs(mid,type){

    window.open("/download/download_license.php?pdid="+mid+"&type="+type,"thiswin","width=470,height=405");

}
