// JS FILE TO DO MPU ADVERTS // R SPENCE 22/05/2003 // S Flint 21/07/2003 CR1883 Added user profile info // S flint 24/07/2003 CR1883 Amended typos for city and country // R Spence 01/09/2003 CR1883 Added 'if' to check if user is logged in // AD SPACE ID var mpuspace = "mpu"; // SET UNIQUE TRANSACTION ID var d = new Date(); var mputransid = d.getTime(); /* DEBUG document.write("mpuspace=" + mpuspace + "
"); document.write("mputransid=" + mputransid + "
"); document.write("mpusitename=" + mpusitename + "
"); document.write("mpupageclass=" + mpupageclass + "
"); document.write("mpuview=" + mpuview + "
"); document.write("mpulogstatus=" + mpulogstatus + "
"); document.write("mpugender=" + mpugender + "
"); document.write("mpupostcode=" + mpupostcode + "
"); document.write("mpubirthyear=" + mpubirthyear + "
"); document.write("mpustatus=" + mpustatus + "
"); document.write("mpucity=" + mpucity + "
"); document.write("mpucountry=" + mpucountry + "
"); */ // WRITE AD SCRIPT TAG if (mpulogstatus == "t") { // USER LOGGED IN document.write(""); } else { // USER NOT LOGGED IN document.write(""); }