/* popup scripts */

/* pop general - Macromedia */
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

/* PopUp Maker 5.0 - CodeBrain.com */

/* pop larger image - /popup_larger.php */
function doPopUp(prodcode){
doPopUpWindow = window.open("http://www.madcattoys.com/popup_larger.php?code="+prodcode,"largerImage","scrollbars=yes,resizable=yes,left=50,top=50,screenX=50,screenY=50,width=788,height=600");
doPopUpWindow.focus();
}

/* pop size-comparison image - /mivadata/screen.sizecompare.tmpl */
function doSize(prodcode){
var theUrl = 'http://www.madcattoys.com/miva/merchant.mvc?Screen=sizecompare&Product_Code='+prodcode;
doSizeWindow = window.open(theUrl,"comparisonImage","scrollbars=yes,resizable=yes,left=75,top=75,screenX=75,screenY=75,width=788,height=600");
doSizeWindow.focus();
}


/* pop scaleviewer */
function popScaleViewer(){
popScaleViewerWindow = window.open("http://www.madcattoys.com/miva/madcattoys_scaleviewer.html","scaleViewer","location=yes,scrollbars=yes,resizable=yes,left=25,top=25,screenX=25,screenY=25,width=1000,height=672");
}

/* pop comments thank you */
function openpopup(){
var popurl="http://www.madcattoys.com/page/MCT/TY"
winpops=window.open(popurl,"","width=400,height=338,");
}

/* pop cvv info */
function popCvv(){
  popCvvWindow = window.open("/popup_cvv.html","cvv","scrollbars=yes,resizable=yes,left=25,top=25,screenX=25,screenY=25,width=450,height=467");
}

/* pop geotrust info */
function doGeoTrust(){
doGeoTrustWindow = window.open("https://smarticon.geotrust.com/smarticonprofile?Referer=http://www.madcattoys.com","geotrust","scrollbars=yes,resizable=yes,left=50,top=50,screenX=50,screenY=50,width=400,height=600");
}

/* pop authorize.net info */ 
function doAuthorize(){
doAuthorizeWindow = window.open("http://www.authorize.net/resources/howitworksdiagram/","authorize","location=yes,directories=yes,toolbar=yes,menubar=yes,status=no,scrollbars=yes,resizable=yes,left=100,top=100,screenX=100,screenY=100,width=600,height=300");
}

/* pop create awards info */
function doCreate(){
doCreateWindow = window.open("http://www.thecreateawards.com/winners.php?category=Web%20Technology&show=ETS1245","create","location=yes,directories=yes,toolbar=yes,menubar=yes,status=no,scrollbars=yes,resizable=yes,left=150,top=150,screenX=150,screenY=150,width=600,height=300");
}

/* pop webby awards info */
function doWebby(){
doWebbyWindow = window.open("http://www.webbyawards.com/webbys/current_honorees.php?letter=M&season=10","webby","location=yes,directories=yes,toolbar=yes,menubar=yes,status=no,scrollbars=yes,resizable=yes,left=200,top=200,screenX=200,screenY=200,width=600,height=300");
}
