//#*******************************************************
//#     @name             CyberTrust.js
//#     @creation date    5 June, 2008
//#     @author           Carl Steele, Lands' End
//#     @purpose          This javascript will pop up the cyber trust window 
//#*******************************************************

var ukURL = "https://seal.verisign.com/splash?form_file=fdf/splash.fdf&dn=www.landsend.co.uk&lang=en";
var deURL = "https://seal.verisign.com/splash?form_file=fdf/splash.fdf&dn=www.landsend.de&lang=de";
var theURL;

// Open window with the correct cyber trust window                                                
function openCTWindow(theURL){
	var SizeChartpopup = window.open(theURL,"SizeChartpopup","height=480,width=550,status=0,menubar=0,location=0,resize=0,scrollbars=1"); 
    SizeChartpopup.focus();
}

//  This function is called to select the correct URL based upon the site
function displayCTWindow(site){ 
    if (site == 361){
        theURL = ukURL;
    } else if(site == 631) {
    	theURL = deURL;
    }
   	openCTWindow(theURL);
}
