<!--
if (this.document == top.document || top.location.host != this.location.host) 
{	 
	  Framing();
	  
	  //fr Firefox
	 parent.frames["Top"].location.href = self.location.href;

}


function Framing(){ 
var self = location.pathname.substring(location.pathname.lastIndexOf('/')+1, location.pathname.length);


selfname = self.substring(0, self.lastIndexOf('.'));

var content = getFileName(selfname, "inhalt"); 

var left = getFileName(selfname, "left"); 	 
						

/*var pathprefix = location.protocol + '//' 
+ location.host
+ location.pathname.substring(0, 
location.pathname.lastIndexOf('/')+1);
*/
var relatpath = location.pathname.replace(/(\/\w+\.?\w+)/g, "../" );

document.clear();
document.open("text/html");
document.writeln('<html>\n');
document.writeln('<head>\n'+
	'<title>'+
	'messweb.de - Portal der professionellen Messtechnik einschlie&szlig;lich '+
	'Sensorik, Automotive, Testing und Mikrowellen</title>\n</head>\n');
document.writeln('<FRAMESET ROWS="99,*" FRAMEBORDER="0" BORDER="0" framespacing="0">\n'+
'<FRAME SRC="'+relatpath+"taskbar/"+self+'" NAME="Top" SCROLLING="NO" align="center" marginwidth="0" marginheight="0" frameborder="0">\n'+         
'<FRAMESET COLS="*,195,829,*" FRAMEBORDER="0" BORDER="0"  framespacing="0">\n'+
'<frame src="'+relatpath+'border/leer.htm" marginwidth="0" marginheight="0" scrolling="no">\n'+
'<FRAME SRC="'+relatpath+left+'" SCROLLING="NO" TARGET="_blank" NORESIZE="NORESIZE" NAME="Inhalt" marginwidth="0" marginheight="0" frameborder="0">\n'+
'<FRAME SRC="'+relatpath+content+'" SCROLLING="auto" NAME="Hauptframe" marginwidth="0" marginheight="0" frameborder="0"\n>'+	
'<frame src="'+relatpath+'border/leer.htm" marginwidth="0" marginheight="0" scrolling="no"\n>'+
		  '</FRAMESET>\n</FRAMESET>\n');

document.writeln('</html>');
document.close();

}//Ende Framing()

function getFileName(name, position){

var FileName = new Object();

//index = location.pathname.substring(0, location.pathname.lastIndexOf('/')+1);

FileName = {   "top" : {"inhalt" : "content/sammel.php", "left": "border/left.php"},
	           "tophome" : {"inhalt" : "content/sammelhf.php", "left": "border/left.php"},
         	   "topat"  : {"inhalt" : "content/sammelat.php", "left": "border/leftat.php"},
			   "topmt"  : {"inhalt" : "content/sammelmt.php", "left": "border/leftmt.php"},	           
			   "topsen" : {"inhalt" : "content/sammelsen.php",  "left": "border/leftsen.php"},
	           "tophf" : {"inhalt" : "content/sammelhf.php",  "left": "border/lefthf.php"},
	           "topwiso" : {"inhalt" : "content/wisoarch.php", "left": "border/left.php"},
			   "topimpr" : {"inhalt" : "allgem/info.htm", "left": "border/left.php"}, 
	           "topjobs" : {"inhalt" : "data_php/stangeb.php", "left": "border/left.php"}, 
	           "topnewsl" : {"inhalt" : "data_php/newsl.php", "left": "border/left.php"}, 
	           "topsearch" : {"inhalt" : "data_php/search_firma.php", "left": "border/leftsearch.php"}
	   
};


if ( !FileName[name][position])
{
	ret= FileName["top"][position];
}
else{
   ret=FileName[name][position];
}

return ret;

}//Ende getFileName()

// -->