
function soundpop(pageAddress,windowName,width,height) {
// open the popup window. stick a timestamp to foil caching.
x=parseInt(width)+20;
y=parseInt(height)+65;
var popupURL = pageAddress;
var popup = window.open(popupURL,windowName,'scrollbars=no,resizable=no,menubar=no,width=' + x +',height='+y);
// set the opener if it's not already set.  it's set automatically
 // in netscape 3.0+ and ie 3.0+.
if( navigator.appName.substring(0,8) == "Netscape" )        {
popup.location = popupURL;
}
}

function checkNumberSubmit(){  
//used by ISDN submit page in shop

 var valueIs = document.ISDNform.asin.value
 valueIs = valueIs.replace(/-/gi, "");
 valueIs = valueIs.replace(/ /gi, "");

 if(valueIs==''){

	alert('Please fill in the field with ISDN number.')
	document.ISDNform.asin.focus()

  } else {

 if(isNaN(valueIs)){
  alert('ISDN number can only contain numbers and "-"')
  document.ISDNform.asin.focus()
 }else{
  document.ISDNform.asin.value=valueIs
  document.ISDNform.submit()
 }

 }
}



function soundpopScroll(pageAddress,windowName,width,height) {
// open the popup window. stick a timestamp to foil caching.
x=parseInt(width)+20;
y=parseInt(height)+100;
var popupURL = pageAddress;
var popup = window.open(popupURL,windowName,'scrollbars=auto,resizable=yes,menubar=no,location=no,status=yes,width=' + x +',height='+y);
// set the opener if it's not already set.  it's set automatically
 // in netscape 3.0+ and ie 3.0+.
if( navigator.appName.substring(0,8) == "Netscape" )        {
popup.location = popupURL;
}
}



function jwPopUp(pageAddress,windowName,width,height)

{

        // open the popup window. s

x=parseInt(width)+0;

y=parseInt(height)+0;

    var popupURL = pageAddress;

    var popup = window.open(popupURL,windowName,'scrollbars=no,resizable=no,menubar=no,width=' + x +',height='+y);

    // set the opener if it's not already set.  it's set automatically

   // in netscape 3.0+ and ie 3.0+.

     if( navigator.appName.substring(0,8) == "Netscape" )

      {

            popup.location = popupURL;

      }





}



function jwPopUp2(pageAddress,windowName,width,height)

{

        // open the popup window.

x=parseInt(width)+0;

y=parseInt(height)+0;

    var popupURL = pageAddress;

    var popup = window.open(popupURL,windowName,'scrollbars=yes,resizable=no,menubar=no,width=' + x +',height='+y);

    // set the opener if it's not already set.  it's set automatically

   // in netscape 3.0+ and ie 3.0+.

     if( navigator.appName.substring(0,8) == "Netscape" )

      {

            popup.location = popupURL;

      }





}