
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}

/// FORM CHECK ///////////////////////////////////////
function chkFormular(frm)
		{
		if (frm.submitFrm.value !="Absenden") return false;
/*
		if(frm.usr_name.value == "")
		{
		alert("Bitte geben Sie Ihren Namen ein!");
		frm.usr_name.focus();
		return false;
		}
	
    if(frm.usr_email.value == "" && frm.usr_callback.value != "true")
		{
		alert("Bitte geben Sie Ihre E-Mail Adresse ein!");
		frm.usr_email.focus();
		return false;
		}

    if(frm.usr_email.value == "" && frm.usr_callback.value == "true" && frm.usr_telefon.value =="")
		{
		alert("Bitte geben Sie Ihre Telefonnummer ein!");
		frm.usr_telefon.focus();
		return false;
		}
*/

}
//////////////////////////////////////////////////////
				
// FLASH CONTATINER //////////////////////////////////
function writemovie (movie, sizeX, sizeY, version, imgurl){
<!--
var agt = navigator.userAgent.toLowerCase();
var ie  = (agt.indexOf("msie") != -1);
var ns  = (navigator.appName.indexOf("Netscape") != -1);
var win = ((agt.indexOf("win")!=-1) || (agt.indexOf("32bit")!=-1));
var mac = (agt.indexOf("mac")!=-1);
     
function detectIE(ClassID,name) {
result = false; 
document.write('<scr' + 'ipt language="VBScript"\> \n');
document.write('on error resume next \n');
document.write('result = IsObject(CreateObject("' + ClassID + '"))');
document.write('</scr' + 'ipt\> \n'); 
if (result) return name + ','; 
else return ''; 
}


var MM_contentVersion = version;
var MM_FlashCanPlay = 0;
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if ( plugin ) {
		var words = navigator.plugins["Shockwave Flash"].description.split(" ");
	    for (var i = 0; i < words.length; ++i)
	    {
		if (isNaN(parseInt(words[i])))
		continue;
		var MM_PluginVersion = words[i]; 
	    }
	MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
}
else if (ie && win) { 
pluginlist = detectIE("ShockwaveFlash.ShockwaveFlash." + version,"Shockwave Flash");
/*
pluginlist = detectIE("ShockwaveFlash.ShockwaveFlash." + version,"Shockwave Flash") + 
detectIE("ShockwaveFlash.ShockwaveFlash.5","Shockwave Flash") + 
detectIE("ShockwaveFlash.ShockwaveFlash.6","Shockwave Flash") + 
detectIE("ShockwaveFlash.ShockwaveFlash.7","Shockwave Flash");*/

if ( ie && win && (pluginlist.indexOf("Flash") != -1) ){
MM_FlashCanPlay = 1;
}
}


if ( MM_FlashCanPlay ) {
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
document.write(' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=' + version + ',0,0,0" ');
document.write(' ID="ropongiFlash" width="' + sizeX + '" height="' + sizeY + '" align="">');
document.write(' <param name=movie VALUE="' + movie + '"><param name=menu value=false> <param name=quality value=autohigh>'); 
document.write(' <embed src="' + movie + '" menu=false quality=autohigh ');
document.write(' swLiveConnect=FALSE width="' + sizeX + '" height="' + sizeY + '" name="ropongiFlash" ALIGN=""');
document.write(' type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">');
document.write(' </embed>');
document.write(' </object>');
} else {
	document.write('<img src="' + imgurl + '" width="' + sizeX + '" height="' + sizeY + '" border="0" alt="ropongi media content" />');
}
//-->
}
//////////////////////////////////////////////////////


<!-- 
/**************************************************\		
  	myRow = new MM_rowMark(1,2,3,4)
  			
  	1:	Farbe des Over Effekts z.B. "#ff0000" - string
  	2:	Farbe des Mark Effeks - string
  	3:	Farbe des Over Effeks bei der Marked Row - string  
  	4:  Function die bei onClick aufgerufen wird - string
 			
  	<tr class="grau" onMouseOver="myRow.over(this)" onMouseOut="myRow.out(this)" onClick="myRow.click(this)">
  		<td>eine Zeile</td>
  		<td><img src="einbild.gif"></td>
  	</tr>							
\**************************************************/
		
function MM_rowMark(overColor,markedColor,overMarked,onClick) 
	{						
		/** Properties **/					
		this.overColor = overColor;
		this.markedColor = markedColor;
		this.overMarked = overMarked;
						
		/** Variables **/					
		this.oldColor = "";
		this.markedRow = "";
											
		/** Methods **/					
		this.over = MM_rowMark_over;
		this.out = MM_rowMark_out;
		this.click = MM_rowMark_click;
				
		/** Event Handler **/
		this.onClick = onClick;					
	}
		
function MM_rowMark_over(oRow)
	{								
		this.oldColor = oRow.style.backgroundColor;
									
		if (oRow.style.backgroundColor == this.markedColor)   
			oRow.style.backgroundColor = this.overMarked;
		else
			oRow.style.backgroundColor = this.overColor;
	}
		
function MM_rowMark_out(oRow)
	{				
		if (oRow.style.backgroundColor == this.markedColor)
			oRow.style.backgroundColor = this.markedColor;
		else
			oRow.style.backgroundColor = this.oldColor;
	}
		
function MM_rowMark_click(oRow)
	{
		if (this.markedRow == "")
			{
				oRow.style.backgroundColor = this.markedColor;
				this.markedRow = oRow;
				if (this.onClick != "")	
					eval(this.onClick);
			}
		else 
			{
				this.markedRow.style.backgroundColor = this.oldColor;
				oRow.style.backgroundColor = this.markedColor;
				this.markedRow = oRow;
				if (this.onClick != "")
					eval(this.onClick);
			}
	}
	
	

/** Instanzieren der Javascript Klassen **/

function init(colCode) {
	myRow = new MM_rowMark(colCode,colCode,"","");
}

function setClassName(objId, className) {
		//status  = "objId: " + objId + " className: " + className;
		//document.objId.class = className;
    	//document.getElementById(objId).class = hiColor;
}

//rowMark(overColor, markedColor, overMarked, onClick)

init('');
// -->