var PromotionalDisclaimer1 = "These records are for the sole purpose of promotional exposure of music and is restricted to use by professional DJs (any individual providing services as a mobile, club, or radio industry disc jockey) only! By browsing and/or purchasing these items, you are agreeing that you are a professional DJ and understand the DJcity.com's terms and conditions for promotional music. If you are not a professional DJ please click on 'Cancel' immediately." var PromotionalDisclaimer = "These records are for the sole purpose of promotional exposure of music and is restricted to use by professional DJs (any individual providing services as a mobile, club, or radio industry disc jockey) only! By browsing and/or purchasing these items, you are agreeing that you are a professional DJ. If you are not a professional DJ please click on 'Cancel' immediately." function viewrecord(recordid,recordbag) { var referer = window.location; window.open("/products/viewdetails.asp?type=1&recordid=" + recordid + "&recordbag=" + recordbag,"ProductDetails","scrollbars=yes,width=665,height=650") } function viewrecordstatic(recordid,recordbag) { var referer = window.location; window.open("/products/records/" + recordid + ".asp?type=1&recordbag=" + recordbag,"ProductDetails","scrollbars=yes,width=665,height=650") } function viewrecordstaticD(recordid,recordbag) { if (confirm(PromotionalDisclaimer)) { var referer = window.location; window.open("/products/records/" + recordid + ".asp?type=1&recordbag=" + recordbag,"ProductDetails","scrollbars=yes,width=665,height=650") } else { return false; } } function addtobag(productid,quantity) { window.open("/recordbag/addtobag.asp?productid=" + productid + "&quantity=" + quantity,"AddToBag","width=225,height=18") } function addtoemaillist(email,list) { var goodEmail = email.match(/\w+@\w+\.\w+/i); if (!goodEmail) { alert("Please enter a valid e-mail address."); } else { window.open("/account/addemaillist.asp?email=" + email + "&list=" + list,"AddToEmailList","width=1,height=1") } } function checkEmailAddress(email) { var goodEmail = email.match(/\w+@\w+\.\w+/i); if (goodEmail){ return true; } else { return false; } } // Check to see if something added to Recordbag function init_djcity() { var urlquerystring = new String(self.location); if ((urlquerystring.indexOf("itemadded=1") > 0) || (urlquerystring.indexOf("itemadded%3D1") > 0)) { alert("Item added to your Recordbag. Please click on 'My Recordbag' to checkout or update product quantities."); } } function Is() { // convert all characters to lowercase to simplify testing var agt=navigator.userAgent.toLowerCase(); // *** BROWSER VERSION *** this.major = parseInt(navigator.appVersion); this.nav = ((agt.indexOf('mozilla')!=-1) && ((agt.indexOf('spoofer')==-1) && (agt.indexOf('compatible') == -1))); this.nav4 = (this.nav && (this.major == 4)); this.nav4up = this.nav && (this.major >= 4); this.ie = (agt.indexOf("msie") != -1); this.ie4 = (this.ie && (this.major == 4)); this.ie4up = this.ie && (this.major >= 4); } function maketheBalloon(id, width, message) { var theString = ''; theString += '
' + message + '
'; document.write(theString); } function makeItVisible(id, event) { if (is.nav4up) { //document.layers[id].left = event.pageX + 13; //document.layers[id].top = event.pageY + 13;; //document.layers[id].visibility = "show"; } else { document.all[id].style.pixelLeft = (document.body.scrollLeft + event.clientX) + 13; document.all[id].style.pixelTop = (document.body.scrollTop + event.clientY) + 13; document.all[id].style.visibility = "visible"; } } function hideHelp(id) { is.nav4up ? document.layers[id].visibility="hide" : document.all[id].style.visibility="hidden"; } var is = new Is();