function openPopUp_520x390(href, target)
{
	window.open(href, target, 'width=520, height=390, top=0, toolbar=0, location=0, directories=0, status=1, menuBar=0, scrollBars=1, resizable=0');
	return false;
}
function openPopUp_600x450(href, target)
{
	window.open(href, target, 'width=600, height=450, top=0, toolbar=0, location=0, directories=0, status=1, menuBar=0, scrollBars=1, resizable=0');
	return false;
}
function heightOptimizer()
{
	var _height = document.getElementById('base_middle').offsetHeight;
	
	if(_height < document.getElementById('base_left').offsetHeight)
		_height = document.getElementById('base_left').offsetHeight;
	
	if(_height < document.getElementById('base_right').offsetHeight)
		_height = document.getElementById('base_right').offsetHeight;
		
	document.getElementById('base').style.height = _height + 18 + "px";
	document.getElementById('base_middle').style.height = _height + "px";
	document.getElementById('base_left').style.height = _height + "px";
	document.getElementById('base_right').style.height = _height + "px";
}
function SymError()
{
	return true;
}

function searchSubmit(F)
{
	text3 = document.getElementById('t3').innerHTML;
	text2 = document.getElementById('t2').innerHTML;
	text1 = document.getElementById('t1').innerHTML;

	if(F.search_key.value.length < 3) 
	{
		alert(text1)
		return false;
	}
	if(F.search_key.value == text2)
	{
		alert(text3);
		return false;
	}	
}

function getSWF(swWidth, swHeight, swFile, swWmode, swVar, swName)
{
	nameO = '';
	nameE = '';
	if(swName)
	{
		nameO = ' id="' + swName + '"';
		nameE = ' name="' + swName + '"';
	}
	ext = '';
	str = '<object' + nameO + ' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width='+swWidth+'  height='+swHeight+'>';
	str += '<param name="movie" value="'+swFile+'" /> ';
	if(swVar)
	{
		str += '<param name="flashvars" value="'+swVar+'" /> ';
		ext += ' flashvars="'+swVar+'"';
	}
	str += '<param name="quality" value="high" /> ';
	str += '<param name="salign" value="TL" /> ';
	str += '<param name="wmode" value="'+swWmode+'" /> ';
	str += '<param name="scale" value="noscale" /> ';
	str += '<param name="allowscriptaccess" value="always" /> ';
	
	str += '<embed' + nameE + ' allowscriptaccess="always" salign="TL" src='+swFile+' width='+swWidth+' height='+swHeight + ext + ' wmode='+swWmode+' quality="high" pluginspage="http://www .macromedia.com/go/getflashplayer" type="application/x-shoc kwave-flash" scale="noscale"></embed> ';
	str += '</object> ';
	document.write(str);
}