document.writeln("
");
document.writeln("");
document.writeln("
");
function ieFlag(){
if (document.all) return true;
return false;
}
var o1 = null;
function displayCalendar(o,csn){
var panel = document.getElementById("_cruiseDatePanel");
var xy = getAbsPosition(o);
panel.style.left = xy.x + "px";
panel.style.top = (xy.y + o.offsetHeight) + "px";
panel.style.visibility = "visible";
var _cc = window.frames['cruiseDate'];
_cc._csn = csn;
_cc.targetObj = o;
tmpObj = isNaN(Date.parse(o.value))?new Date():new Date(o.value);
_cc.setCalendricTime(tmpObj.getYear()+1900,tmpObj.getMonth()+1,csn);
o1 = {x:parseInt(panel.style.width),y:parseInt(panel.style.height)};
o2 = {x:5,y:4};
ieFlag()?toe(0.03):tox();
}
function toe(o){
var panel = document.getElementById("_cruiseDatePanel");
panel.style.zoom = o;
o = o + 0.03;
o<1?setTimeout("toe("+o+")",10):panel.style.zoom=1;
}
function tox(){
var panel = document.getElementById("_cruiseDatePanel");
panel.style.width = o2.x + "px";
panel.style.height = o2.y + "px";
_tx = o2.x +10;
_ty = o2.y +8;
o2 = {x:_tx,y:_ty};
if (o2.xn) break;
}