function setUp() {
if(window.ActiveXObject){
document.body.onresize=reloadMe;
}
else window.onresize=reloadMe;
} 
function reloadMe(){
	window.location=window.location;
}

function init_dw_Scroll() {
    var wndo = new dw_scrollObj('wn', 'lyr1', 't1');
    wndo.setUpScrollbar("dragBar", "track", "h", 1, 1);
    wndo.setUpScrollControls('scrollbar');
}

// if code supported, link in the style sheet and call the init function onload
if ( dw_scrollObj.isSupported() ) {
    //dw_writeStyleSheet('css/scroll.css');
    dw_Event.add( window, 'load', init_dw_Scroll);
}


function openfullscreen(url) {
//Check browser
var isNav = (navigator.appName == "Netscape")?1:0;
var isIE = (navigator.appName.indexOf("Microsoft")!= -1)?1:0;
//Check Platform
var isMac=(navigator.platform.indexOf("Mac")>-1)?1:0;
var isWin=(navigator.platform.indexOf("Win")>-1)?1:0;
//Set global window options
var opts =
"toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizeable=no,copyhistory=no,menubar=no";

opts = opts+",width="+(screen.availWidth)+",height="+(screen.availHeight - 25);

//Set platform and browser specific options
if (isNav)
{
//Navigator windows have outerWidth and outerHeight properties
opts =
opts+",outerWidth="+screen.availWidth+",outerHeight="+screen.availHeight+",­screenX=0,screenY=0";

//use these to set window size to the available screen height
//and width
opts =
opts+",outerWidth="+screen.availWidth+",outerHeight="+screen.availHeight+",­screenX=0,screenY=0";

}
else if (isIE) {
//IE has a "full-screen" option which can be used by placing
//"fullscreen=yes" here
opts = opts+",left=0,top=0";
//To size the window (rather than open in fullscreen
//mode) we need to know the padding
//i.e. the space taken by the title bar and window
//edges. These values are subtracted
//from the available screen width and height (different
//for Macs). If the new window
//is opened with toolbars, status bar, etc. the values
//here should be changed to
//compensate for the new features.
if (isMac) {
//this uses a value of 13 for the extra width and 32
//for the extra height
opts = opts+",width="+(screen.availWidth -
13)+",height="+(screen.availHeight - 32);
} else if (isWin) {
//this uses a value of 12 for the extra width and 25
//for the extra height
opts = opts+",width="+(screen.availWidth -
12)+",height="+(screen.availHeight - 25);
} else {
opts =
opts+",width="+screen.availWidth+",height="+screen.availHeight;
}
} else {
return;
}


//Open a new window
var newWin = window.open(url,"NewWindow",opts);
newWin.focus();
//Move to 0,0 (javascript 1.2)
if (parseInt(navigator.appVersion) >= 4) {
newWin.moveTo(0,0);
}

}



