<!--

if ((!(navigator.appVersion.indexOf('MSIE') != -1) && 
	(parseInt(navigator.appVersion)==4))) 
{
	document.write("<STYLE TYPE=\"text/css\">");
	document.write("BODY { margin-top: -8px; margin-left: -8px; }"); 
	document.write("</style>");
};

if (document.images) {
	green_up = new Image();
	green_up.src = "http://neas.miis.edu/images/green-anchor.gif";
	green_over = new Image();
	green_over.src = "http://neas.miis.edu/images/grey-anchor.gif";
	green_click = new Image();
	green_click.src = "http://neas.miis.edu/images/orange-anchor.gif";
	totop_up = new Image();
	totop_up.src = "http://neas.miis.edu/images/blue-totop.gif";
	totop_over = new Image();
	totop_over.src = "http://neas.miis.edu/images/grey-totop.gif";
	totop_click = new Image();
	totop_click.src = "http://neas.miis.edu/images/orange-totop.gif";
}

function changeImage(where,what) {
	document.images[where].src = eval(what + ".src");
}

var bV=parseInt(navigator.appVersion);
NS4=(document.layers) ? true : false;
IE4=((document.all)&&(bV>=4))?true:false;
hasDOM = (document.getElementById) ? true : false;

if (NS4) {
    origWidth = innerWidth;
    origHeight = innerHeight;
}

function open_marketing_win (lang) {
    var url = 'preview/' + lang;
    var mWin = window.open(url, 'Welcome','menubar=no,toolbar=no,scrollbars=no,resizable=no,width=760,height=500');
    mWin.focus();
}

function open_pdf_win(url) {
    var pdfWin = window.open(url,'PDF','scrollbars=yes,resizable=yes');
    pdfWin.focus();
}

function reDo() {
    if (innerWidth != origWidth || innerHeight != origHeight) 
        location.reload();
}

if (NS4) onresize = reDo;

//-->


