on' == 'on') { var sURL = " https://www.primamusic.com/addtocart.asp?Cart=NO&SKU=" + sku + "&Quantity=" + quantity + "&Available=" + available + "&PriceType=" + pricetype + "&Discount=" + discount + "&WebID="; } else { var sURL = " http://www.primamusic.com/addtocart.asp?Cart=NO&SKU=" + sku + "&Quantity=" + quantity + "&Available=" + available + "&PriceType=" + pricetype + "&Discount=" + discount + "&WebID="; } //alert(sURL) try{ oXMLHTTP.open( "POST", sURL, false ); oXMLHTTP.send(""); } catch (err) { document.forms.frmMain.submit(); return false; } var timeout = window.setTimeout('document.forms.frmMain.submit()', 10000); var responseList = oXMLHTTP.responseText; //alert(responseList); myArray = new Array() i = 0 pass = 'even' do { myArray[i] = responseList.substring(0,responseList.indexOf(",")) responseList = responseList.slice(responseList.indexOf(",")+1) if (i > 2) { if (pass == 'even') { //alert(myArray[i].substr(1,myArray[i].length-2)); document.getElementById("BasketMessage" + myArray[i].substr(1,myArray[i].length-2)).innerHTML = 'This item has been added to your basket.
'; pass = 'odd'; } else { pass = 'even'; } } i++ } while (responseList.indexOf(",") > 0) myArray[i] = responseList requestStatus = myArray[0] revisedNumberOfItems = myArray[1] revisedBasketTotal = myArray[2] if (requestStatus == "ACCEPTED"){ //document.getElementById('cartBoxLine1').innerHTML = 'This item has been
added to your basket.
'; //document.getElementById('cartBoxLine2').innerHTML = ''; //document.getElementById('cartBoxButton').innerHTML = ''; //document.getElementById('numberOfItems').innerHTML = revisedNumberOfItems; //document.getElementById('basketAmount').innerHTML = '$' + revisedBasketTotal; alert('Your items have been added to the Shopping Basket.') document.forms.frmMain.hidSelected.value = '' window.clearTimeout(timeout); }else{ alert("Sorry, we could not add this item at this time. Please try again."); } document.body.style.cursor='auto'; } function getTitleTip(SKU) { document.body.style.cursor='wait'; oXMLHTTP=null if (window.XMLHttpRequest) { oXMLHTTP=new XMLHttpRequest() } else if (window.ActiveXObject) { oXMLHTTP=new ActiveXObject("Microsoft.XMLHTTP") } else { //document.forms.frmMain.submit(); } var sURL = "http://www.primamusic.com/TitleTip.asp?SKU=" + SKU; //alert(sURL) try{ oXMLHTTP.open( "POST", sURL, false ); oXMLHTTP.send(""); } catch (err) { alert('Error Recording Title Change - Call Bobby'); } var timeout = window.setTimeout("alert('Transaction Failed')", 10000); var responseList = oXMLHTTP.responseText; myArray = new Array() i = 0 do { myArray[i] = responseList.substring(0,responseList.indexOf("|")) responseList = responseList.slice(responseList.indexOf("|")+1) i++ } while (responseList.indexOf("|") > 0) myArray[i] = responseList requestStatus = myArray[0] if (requestStatus == "VALIDATED"){ window.clearTimeout(timeout); document.body.style.cursor='auto'; return '\''' } else { window.clearTimeout(timeout); document.body.style.cursor='auto'; alert('Error access tip information') } //var str = '\'Accelerated' //return str }
FREE NEWSLETTER SAFE AND SECURE PAYMENT OPTIONS STAY CONNECTED
Receive Exclusive Member Savings
Click to verify Prima Music's BBB accreditation.
Prima Music - The Sheet Music Choice of Music Teachers Worldwide
Prima Music Facebook Page - The Sheet Music Choice of Music Teachers Worldwide Prima Music Twitter Page - The Sheet Music Choice of Music Teachers Worldwide
Prima Music - The Sheet Music Choice of Music Teachers Worldwide
© Copyright 2021 Mitchell Commerce Corporation - All rights reserved Policies - Terms & Conditions - Privacy