
closetime = 0; // Close window after __ number of seconds?
// 0 = do not close, anything else = number of seconds
function Start(URL, WIDTH, HEIGHT) {
windowprops = "left=75,top=50,scrollbars=auto,width=" + WIDTH + ",height=" + HEIGHT;
preview = window.open(URL, "preview", windowprops);

if (closetime) setTimeout("preview.close();", closetime*1000);
}


function Login(){
var done=0;
var username=document.login.username.value;
username=username.toLowerCase();
var password=document.login.password.value;
password=password.toLowerCase();
if (username=="pizza" && password=="hut") { window.location="/pizza_hut/index.shtml"; done=1; }
if (username=="rochelle" && password=="park") { window.location="/0110_yF0k2O/index.shtml"; done=1; }
if (username=="hut" && password=="tv") { window.location="/huttv/index.shtml"; done=1; }
if (username=="haiti" && password=="psa") { window.location="/haiti/haiti_psa.shtml"; done=1; }
if (username=="kraft" && password=="loop") { window.location="/Kraft/Kraft.shtml"; done=1; }
if (username=="frozenfood" && password=="sample") { window.location="/frozenfood/index.shtml"; done=1; }
if (username=="velveeta" && password=="sides") { window.location="/velveeta/index.shtml"; done=1; }
if (username=="conagra" && password=="content") { window.location="/conagra/index.shtml"; done=1; }
if (username=="glade" && password=="candles") { window.location="/glade/index.shtml"; done=1; }
if (username=="sales" && password=="cbso") { window.location="/sales/index.shtml"; done=1; }
if (username=="promo" && password=="plus") { window.location="/promo_plus/index.shtml"; done=1; }
if (username=="bbq" && password=="content") { window.location="/bbq/index.shtml"; done=1; }
if (username=="rachael" && password=="ray") { window.location="/rachael_ray/index.shtml"; done=1; }
if (username=="media" && password=="tile") { window.location="/media_tile/media_tile.shtml"; done=1; }
if (username=="svu" && password=="produce") { window.location="/svu_produce/produce.shtml"; done=1; }
if (username=="skin" && password=="care") { window.location="/skin_care/skin_care.shtml"; done=1; }
if (username=="stop" && password=="shop") { window.location="/stop&shop/index.shtml"; done=1; }
if (username=="svu" && password=="creative") { window.location="/creative/creative.shtml"; done=1; }
if (username=="retailer" && password=="content") { window.location="/retailer_content/retailer_content.shtml"; done=1; }
if (username=="cancer" && password=="awareness") { window.location="/breast_cancer/index.shtml"; done=1; }
if (username=="loop" && password=="content") { window.location="/loop_content/flight_4.shtml"; done=1; }
if (username=="pet" && password=="corner") { window.location="/pet_corner/pet_corner.shtml"; done=1; }
if (username=="michael" && password=="marks") { window.location="/michael_marks/michael_marks.shtml"; done=1; }
if (username=="shaws" && password=="custom") { window.location="/supervalu/supervalu_retailer_advertising.shtml"; done=1; }
if (username=="fdoc" && password=="content") { window.location="/fdoc/fdoc.shtml"; done=1; }
if (username=="content" && password=="rachaelray") { window.location="/rachael_ray/index.shtml"; done=1; }
if (username=="outernet" && password=="pharmacy") { window.location="/pharmacy/index.shtml"; done=1; }
if (username=="supervalu" && password=="tylenol") { window.location="/tylenol_svu_project/index.shtml"; done=1; }
if (username=="catelli" && password=="acme") { window.location="/catelli"; done=1; }
if (username=="heart" && password=="health") { window.location="/heart_health/heart_health.shtml"; done=1; }
if (username=="acme" && password=="supervalu") { window.location="/acme/index.shtml"; done=1; }
if (username=="localads" && password=="preview") { window.location="/local_ads/index.shtml"; done=1; }
if (username=="templates" && password=="preview") { window.location="/local_ads_templates/index.shtml"; done=1; }
if (username=="outernet" && password=="creative") { window.location="/current_ads/index.shtml"; done=1; }
if (username=="demo" && password=="showme") { window.location="/preview/demo/demo.html"; done=1; }
if (username=="program" && password=="preview") { window.location="/preview/programpreview/programpreview.htm"; done=1; }
if (username=="gm" && password=="review") { window.location="/preview/gm/gm.htm"; done=1; }
if (username=="campbells" && password=="creative") { window.location="/preview/campbells/campbells.htm"; done=1; }
if (username=="national" && password=="ads") { window.location="current_ads/index.shtml"; done=1; }
if (username=="current" && password=="ads") { window.location="current_ads/index.shtml"; done=1; }
if (username=="preview" && password=="meredith") { window.location="/preview/magazine/magazine.htm"; done=1; }
if (username=="reynolds" && password=="creative") { window.location="/preview/reynolds/reynolds.htm"; done=1; }
if (username=="signstorey" && password=="creative") { window.location="/preview/currentads/sscreative.htm"; done=1; }
if (username=="epicurious" && password=="epicurious") { window.location="/preview/commu4/communic4.htm"; done=1; }
if (username=="american" && password=="greetings") { window.location="/preview/amgreetings/amgreetings.htm"; done=1; }
if (username=="sales" && password=="presentation") { window.location="/preview/sales/sales.htm"; done=1; }
if (username=="produce" && password=="sales") { window.location="/preview/sales/produce.htm"; done=1; }
if (username=="kinkos" && password=="print") { window.location="/preview/kinkos/print.htm"; done=1; }
if (username=="custom" && password=="content") { window.location="/preview/customcontent/customcontent.htm"; done=1; }
if (username=="catalina" && password=="preview") { window.location="/preview/catalina/catalina.htm"; done=1; }
if (username=="wallstreet" && password=="journal") { window.location="/preview/wallstreetjournal/demo.htm"; done=1; }
if (username=="aha" && password=="heart") { window.location="/preview/aha/aha.htm"; done=1; }
if (username=="outernet" && password=="content") { window.location="/preview/retailloop/retail.htm"; done=1; }
if (username=="colgate" && password=="health") { window.location="/preview/colgate/colgate.htm"; done=1; }
if (username=="walgreens" && password=="outernet") { window.location="/preview/walgreens/walgreens.htm"; done=1; }
if (username=="chef" && password=="presents") { window.location="/preview/ourchef/chefpresents.htm"; done=1; }
if (done==0) { alert("Invalid login!"); } 
}
function fullScreen(theURL) {
window.open(theURL, '', 'fullscreen=yes, scrollbars=auto');
}

//  End -->