
isMSIE4up = navigator.userAgent.indexOf('MSIE') > 0 && navigator.appVersion.substring(0,3) >= 4.0
useLargeImg = false

if (isMSIE4up)
{
	if (screen.width >= 1400) useLargeImg = true ;
}

function spaceIfHeight480 (spacer)
{
	if (isMSIE4up)
	{
		if (screen.height > 480) document.write ( spacer) ;
	}
	else
	{
		document.write ( spacer) ;
	}
}

function codeLarge (codeLarge, codeMedium)
{
	if (useLargeImg)
	{
		document.write (codeLarge) ;
	}
	else
	{
		document.write (codeMedium) ;
	}
}

function mailto (subject)
{
	document.write ('<a href="mailto' + String.fromCharCode (58) + 'comments' + String.fromCharCode (64) + 'reggie.net' + String.fromCharCode (63) + 'subject' + String.fromCharCode (61) + subject + '">') ;
}

function mailto_end ()
{
	document.write ('</a>') ;
}
