function fnSetValues(){
   var iHeight=700;
   var iWidth=900;
   var sFeatures="center:yes; dialogHeight=" + iHeight + "px; dialogWidth=" + iWidth + "px; status:no;";
   return sFeatures;
}
function fnOpencheck(){
   var sFeatures=fnSetValues();
   window.showModalDialog("modules/checkcompanies.php", "", sFeatures)
}
function fnOpenfriend(){
   window.open("modules/efriend.php", "", "width=620,height=480,status=0,scrollbars=auto")
}
