function werrlit(w,a) { var werrl_url; werrl_url = "http://www.werrl.com/werrl.asp?w=" + w + "&action=" + a + "&domain=buy-tees.com&nocache=" + Math.floor(Math.random()*9999999) document.getElementById("werrl").src = werrl_url; } function shareWerrl() { var win = new Window({className: "alphacube", title: "Share Your Werrl Wish List", top:70, left:100, width:600, height:500, url: "http://www.werrl.com/share.asp", showEffectOptions: {duration:1.5}}) win.showCenter(); win.show(); } function displayWerrl(el) { var xhr; try { xhr = new ActiveXObject('Msxml2.XMLHTTP'); } catch (e) { try { xhr = new ActiveXObject('Microsoft.XMLHTTP'); } catch (e2) { try { xhr = new XMLHttpRequest(); } catch (e3) { xhr = false; } } } xhr.onreadystatechange = function() { if(xhr.readyState == 4) { if(xhr.status == 200) { //alert(xhr.responseText); document.getElementById(el).innerHTML = xhr.responseText; } } }; u = '/inc/asp/getwerrl.asp?nocache=' + Math.floor(Math.random()*9999); xhr.open('GET', u, true); xhr.send(null); }