<!--
function fixPNG(myImage,urll){
	if (window.ie55up){
		var imgID = (myImage.id) ? "id='" + myImage.id + "' " : ""
		var imgClass = (myImage.className) ? "class='" + myImage.className + "' " : ""
		var imgTitle = (myImage.title) ? "title='" + myImage.title + "' " : "title='" + myImage.alt + "' "
		var imgStyle = "display:inline-block;" + myImage.style.cssText 
		var strNewHTML = "<span " + imgID + imgClass + imgTitle
		strNewHTML += " style=\"" + "width:" + myImage.width + "px; height:" + myImage.height + "px;" + imgStyle + ";"
		strNewHTML += "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
		strNewHTML += "(src=\'" + myImage.src + "\', sizingMethod='scale');\">";
		if ( urll ){ 
		strNewHTML += "<a href=\"" + urll + "\"><img src=\"images/empty.gif\" width=\"" + myImage.width + "\" height=\"" + myImage.height + "\" border=\"0\"></a>" ;
		}
		strNewHTML += "</span>" ;
		myImage.outerHTML = strNewHTML
	}
}

function changeLng(l){
	document.cookie= "lng=" + l;
	window.history.go(0);
}

function checkIt(detect,string){
	place = detect.indexOf(string) + 1;
	thestring = string;
	return place;
}

function openwin ( url,x,y ){
	hallesow = window.open(url,'','width='+x+',height='+y+',toolbar=0,resizable=1,directories=0,menubar=0,status=1,location=0,scrollbars=1');
	hallesow.focus();
}

function setVideoFlv(flvFile){
	var myHtml = "<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width='280' height='210' id='FLVPlayer'>";
	myHtml += "<param name='movie' value='FLVPlayer_Progressive.swf' />";
	myHtml += "<param name='salign' value='lt' />";
	myHtml += "<param name='quality' value='high' />";
	myHtml += "<param name='scale' value='noscale' />";
	myHtml += "<param name='WMODE' value='Transparent' />";
	myHtml += "<param name='FlashVars' value='&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName="+flvFile+"&autoPlay=true&autoRewind=false' />";
	myHtml += "<embed src='FLVPlayer_Progressive.swf' flashvars='&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName="+flvFile+"&autoPlay=true&autoRewind=false' quality='high' scale='noscale' width='280' height='210' name='FLVPlayer' salign='LT' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />";
	myHtml += "</object>";
	document.getElementById('slideShowDiv').innerHTML = myHtml;
	toggleSlideShow();
}
function setMp3Flv(flvFile){
	var myHtml = "<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width='280' height='80' id='FLVPlayer'>";
	myHtml += "<param name='movie' value='FLSoundPlayer.swf' />";
	myHtml += "<param name='salign' value='lt' />";
	myHtml += "<param name='quality' value='high' />";
	myHtml += "<param name='scale' value='noscale' />";
	myHtml += "<param name='WMODE' value='Transparent' />";
	myHtml += "<param name='FlashVars' value='&soundFile="+flvFile+"&autoPlay=true&autoRewind=false' />";
	myHtml += "<embed src='FLSoundPlayer.swf' flashvars='&soundFile="+flvFile+"&autoPlay=true&autoRewind=false' quality='high' scale='noscale' width='280' height='80' name='FLVPlayer' salign='LT' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />";
	myHtml += "</object>";
	document.getElementById('slideShowDiv').innerHTML = myHtml;
	toggleSlideShow();
}
function toggleSlideShow(){
	//document.getElementById('toggleSlideShow').onMouseDown = setSlideShow();
	document.getElementById('toggleSlideShow').style.visibility='visible';
	document.getElementById('toggleSlideShow').style.cursor='hand';
	document.getElementById('slideShowDiv2').style.visibility='hidden';
}

function setSlideShow(SlideShow){
	var myHtml = "<img name='SlideShow' src='"+SlideShow+"' width='440' border='0' />";
	document.getElementById('slideShowDiv').innerHTML = myHtml;
	document.getElementById('slideShowDiv2').style.visibility='visible';
	document.getElementById('toggleSlideShow').style.visibility='hidden';
	timerobj = setTimeout("runSlideShow()", slideduration);
}





