/*
** Copyright IBM Corp., 2007. All Rights Reserved.
*/
var ttWindow = "";
var launchPage;
var ttWindowHeight;
function launch_syn(lang,view,syn,crt){
if (document.URL.indexOf("ibm.com") > -1){
launchPage = "/en_FR/tracker/ttFrame.html?";
}
else {
launchPage = "http://www.rolandgarros.com/en_FR/tracker/ttFrame.html?";
}
if (view == "draw"){
ttWindowHeight = 665;
}
else{
ttWindowHeight = 665;
}
var d = new Date()
var t = d.getTime()
launchPage += "ts=" + t;
launchPage += (lang.length>1)?"&lang="+lang:"&lang=en_FR";
launchPage += (syn)?"&syn="+syn:"&syn=none";
launchPage += "&wh=" + ttWindowHeight;
launchPage += "&mode=" + view;
launchPage += "&ref=" + document.location.host + document.location.pathname;
launchPage += "&db=false";
launchPage += (crt)?"&crt="+crt:"&crt=none";
//alert(launchPage);
if (ttWindow.closed || ttWindow==""){
ttWindow = window.open(launchPage,"ttWindow","width=850,height=" + ttWindowHeight + ",top=0,left=0,statusbar=0")
if (ttWindow.opener == null) ttWindow.opener=self;
}
ttWindow.focus();
}

