function MM_displayStatusMsg(msgStr) {
status=msgStr;
document.MM_returnValue = true;
}

function i_help(popurl) {
winpops=window.open("/customer/instant_help/index.html?action=" + popurl,"ebuyerHelp","scrollbars=yes,width=400,height=338,")
}

function belkinWizard() {
winpops=window.open("http://web.belkin.com/config/cable/configurator.asp?vid=1095&catid=6","belkinWizard","scrollbars=yes,width=650,height=570,")
}

function belkinNetwork() {
winpops=window.open("http://web.belkin.com/config/network2/index0.asp?vid=1095&catid=6","belkinWizard","scrollbars=yes,width=650,height=570,")
}

function belkinKVM() {
winpops=window.open("http://web.belkin.com/config/kvm2/kvmnonusb.asp?vid=1095&catid=6","belkinWizard","scrollbars=yes,width=750,height=570,")
}


function belkinKVM_US() {
winpops=window.open("http://web.belkin.com/config/kvm3/kvmconfig.asp?vid=1115","belkinWizard","scrollbars=yes,width=750,height=570,")
}

function belkinWizard_US() {
winpops=window.open("http://web.belkin.com/config/cable/configurator.asp?vid=1115","belkinWizard","scrollbars=yes,width=650,height=570,")
}


function belkinUSB_US() {
winpops=window.open("http://web.belkin.com/config/usb/usbconfig.asp?vid=1115","belkinWizard","scrollbars=yes,width=650,height=570,")
}


function belkinnetwork_US() {
winpops=window.open("http://web.belkin.com/config/network2/index0.asp?vid=1115","belkinWizard","scrollbars=yes,width=750,height=570,")
}


function belkinsurge_US() {
winpops=window.open("http://web.belkin.com/config/surgeprotection/computersurgeprotection.asp?vid=1115", "belkinWizard","scrollbars=yes,width=750,height=570,")
}

function belkinUPS_US() {
winpops=window.open("http://web.belkin.com/config/ups/computerups.asp?vid=1115","belkinWizard","scrollbars=yes,width=750,height=570,")
}

function USRNetworkConfigurator_UK() {
winpops=window.open("http://www.usr.com/products/wireless/wizard-uk-ebuyer.asp?loc=unkg","USRConfigurator","scrollbars=yes,width=750,height=650");
}

function KingstonConfigurator_UK() {
winpops=window.open("http://www.ec.kingston.com/ecom/config/default.asp?referid=672","KingstonConfigurator","scrollbars=yes,width=750,height=650");
}


function YPref (type, id)  {
        switch (type) {
                case 'brand':
                        refType = 'c2hvd2JyYW5k';
                        idType = 'mfr_uid';
                break;

                case 'cat':
                        refType = 'c2hvd3N1YmNhdGVnb3J5X3NlYXJjaA==';
                        idType = 'cat_uid';
                break;

                case 'subcat':
                        refType = 'c2hvd3N1YmNhdGVnb3J5X3BhZ2U=';
                        idType = 'subcat_uid';
                break;

                case 'product':
                        refType = 'c2hvd19wcm9kdWN0X292ZXJ2aWV3';
                        idType = 'product_uid';
                break;


                default:
                        refType = 'c2hvd2JyYW5k';
                        idType = 'mfr_uid';
                break;
                }
        location.href='/customer/products/index.html?action=' + refType + '&' + idType + '=' + id;
}

function OpenCertDetails() {
thewindow = window.open('https://www.thawte.com/cgi/server/certdetails.exe?code=UKEBUY2', 'anew', config='height=400,width=525,toolbar=no,menubar=no,scrollbars=yes,resizable=no,location=no,directories=no,status=yes');
}

function priceGrabber(){
	thewindow = window.open('http://www.ebuyer.com/customer/instant_help/grabber.html', 'grabber', config='height=124,width=415,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,directories=no,status=no');
}

function iconText(string) { 
	document.getElementById('iconText').innerHTML = string;
} 
