/* __________________________________ __________________________________ __________________________________ */
function preload()
{
}
function rollOver(img, url)
{
	var str = new String();
	str = navigator.userAgent;
		
	if (str.indexOf("MSIE") !== -1)
	{
		document.images[img].src=url;
	}
	if (str.indexOf('Firefox') !== -1)
	{
		document.getElementsByTagName(img).src = url;
	}
}
function rollOut(img, url) {
	document.images[img].src=url;
}
function rollDown(img, url) {
	document.images[img].src=url;
}
/* __________________________________ __________________________________ __________________________________ */

function modalDialogShow(url,width,height)
{
	var vRetVal=window.showModalDialog(url,window,"dialogWidth:"+width+"px;dialogHeight:"+height+"px;edge:Raised;center:1;help:0;resizable:1;maximize:0");
	if(vRetVal)return vRetVal;
	else return "";
}
function modalDialogShow2(url,width,height)
{
	var vRetVal=window.showModalDialog(url,dialogArguments,"dialogWidth:"+width+"px;dialogHeight:"+height+"px;edge:Raised;center:1;help:0;resizable:1;maximize:1");
	if(vRetVal)return vRetVal;
	else return "";
}
function dialogShow(url)
{
	return window.open(url,"display","width=510,height=655,menubar=no,toolbar=no,resizable=no,statusbar=yes");
}

/* __________________________________ __________________________________ __________________________________ */
function detectBrowser()
{
	if (navigator.javaEnabled())
	{
		var str = new String();
		str = navigator.userAgent;
		
		if (str.indexOf("MSIE") !== -1)
		{
			return document.write('internet explorer');
		}
		else if (str.indexOf('Firefox') !== -1)
		{
			return document.write('FireFox');
		}
	}
}
/* __________________________________ __________________________________ __________________________________ */
