function intelifontsize(var1,var2)
{
var ifs=document.getElementsByTagName(var1);
	for(i=0;i<ifs.length;i++)
	{
	ifs[i].style.fontSize = var2+"pt";
	}
}
function intelimail(var1)
{
var alltags=document.getElementsByTagName(var1);
var replaces=0;
for (i=0; i < alltags.length; i++)
	{
		while (alltags[i].innerHTML.indexOf('#nospam#') != -1 && replaces < 10000)
		{
       		alltags[i].innerHTML = alltags[i].innerHTML.replace('#nospam#', String.fromCharCode(64));
		replaces++;
		}
	}
}
function intelicopyright(var1,var2)
	{
	currdate=new Date();
	Year=currdate.getFullYear();
	if(var1=="") { itext="&copy; "+Year+" "+var2; } else { itext="&copy; "+var1+" - "+Year+" "+var2; }
	document.write(itext);
	}
function inteliremotevideo(var1)
{
var ie = (navigator.appName.indexOf ("Microsoft") != -1) ? 1 : 0;
var bgcolor="FFFFFF";
var version="8.0.0.0";
var videoparam= var1.split('|');
if(videoparam[0]!="") { var width=videoparam[0]; } else { width="150"; }
if(videoparam[1]!="") { var height=videoparam[1]; } else { height="150"; }
var src=videoparam[2];						
var id=Math.round(Math.random()*100000000);
var file2html = new String();
	if(src!="")
	{
		if(ie==1)
		{
		file2html += '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ';
		file2html += 'id="'+id+'" ';
		file2html += 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version='+version+'" ';
		file2html += 'width="'+width+'" ';
		file2html += 'height="'+height+'"/>';
		file2html += '<param name="movie" value="'+src+'"/>';
		file2html += '<param name="quality" value="high"/>';
		file2html += '<param name="bgcolor" value="#'+bgcolor+'"/>';
		file2html += '<\/object>';
		}
		else
		{
		file2html += '<embed src="'+src+'" ';
		file2html += 'quality="high" '; 
		file2html += 'bgcolor="#'+bgcolor+'" ';
		file2html += 'width="'+width+'" ';
		file2html += 'height="'+height+'" ';
		file2html += 'type="application/x-shockwave-flash" ';
		file2html += 'name="'+id+'" ';
		file2html += 'pluginspage="http://www.macromedia.com/go/getflashplayer"/>';
		file2html += '<\/embed>';
		}
	document.write(file2html);
	}
}
function inteliflash(id,version,width,height,src,bgcolor,mode)
{
var ie = (navigator.appName.indexOf ("Microsoft") != -1) ? 1 : 0;
var flash2html = new String();
	if(mode=="aswf")
	{
		if(ie==1)
		{
		flash2html += '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ';
		flash2html += 'id="'+id+'" ';
		flash2html += 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version='+version+'" ';
		flash2html += 'width="'+width+'" ';
		flash2html += 'height="'+height+'">';
		flash2html += '<param name="movie" value="'+src+'"/>';
		flash2html += '<param name="quality" value="high"/>';
		flash2html += '<param name="bgcolor" value="#'+bgcolor+'"/>';
		flash2html += '</object>';
		}
		else
		{
		flash2html += '<embed src="'+src+'" ';
		flash2html += 'quality="high" '; 
		flash2html += 'bgcolor="#'+bgcolor+'" ';
		flash2html += 'width="'+width+'" ';
		flash2html += 'height="'+height+'" ';
		flash2html += 'type="application/x-shockwave-flash" ';
		flash2html += 'name="'+id+'" ';
		flash2html += 'pluginspage="http://www.macromedia.com/go/getflashplayer">';
		flash2html += '</embed>';
		}
	}
document.write(flash2html);
}
