﻿<!--
function doBlink() {
	var blink = document.all.tags("blink")
	for (var i=0; i<blink.length; i++)
	blink[i].style.visibility = blink[i].style.visibility == "" ? "hidden" : "" 
}

function startBlink() {
	if (document.all)
	setInterval("doBlink()",1000)
}
window.onload = startBlink;

			
function doPopup(filename, iWidth, iHeight) {

	//var iWidth = 600;
	//var iHeight = screen.height - 400;

	if (iWidth == null) {
		iWidth = 600;
	}
	if (iHeight == null) {
		iHeight = screen.height - 300;
	}

	var iLeft = (screen.width  - iWidth) / 2 ;
	var iTop  = (screen.height  - iHeight) / 2 ;
	var sOptions = "toolbar=1,status=0,resizable=1,scrollbars=1";
	sOptions += ",width=" + iWidth;
	sOptions += ",height=" + iHeight;
	sOptions += ",left=" + iLeft;
	sOptions += ",top=" + iTop;

	var newwin=window.open(filename, filename.substr(0,6), sOptions);

	if (newwin != null) {
		if (newwin.opener == null)
		newwin.opener = self;
	}
}


function doSetHomepage(url) {
	document.body.style.behavior = 'url(#default#homepage)';
	document.body.setHomePage(url);
 }
// -->
