// <script language="Javascript">  

if(document.location==top.location){ 

	wpamenu = []; COLS = []; SITE = []; YT_PAR =[];
	document.write('<script src="../_framesrsc/cmsmain.js" type="text/javascript"><\/script>');

	c=document.location+"";
	c=c.substr(1+c.lastIndexOf("/"));
	//c=c.replace(/(\.htm|,|#|<b>|<\/b>|\"|&|=|\?|\ )/g,"");
	c=c.replace(/(\.html|\.htm|\.asp|,|\.|#|<b>|<\/b>|\"|&|%|=|\?|\ )/g,"");

	if ("left00 oben01 right00 IFRAME YTX GOOGLEV MYVIDEO DM FLVz VEOH WMV1 WMV2 WMVQ VIMEO".indexOf(c)>=0) c="";
	else { 
	 if (c.indexOf("WMV")>=0 || c.indexOf("http://")==0 || c.indexOf("http//")>=0 || c.indexOf("IFRAME")>=0) c=c.substr(0,3)+"_"+c.substr(max(0,c.length-35),35); else c=c.substr(0,35);
	//if (c.indexOf("WMV")>=0 || c.indexOf("YTX")>=0 || c.indexOf("IFRAME")>=0) c=c.substr(0,3)+c.substr(max(0,c.length-30),30); else c=c.substr(0,30);
	 c="?"+c.replace(/\//g,"_");
	};
	top.location="../_frames/index.htm"+c;
};

browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);

var lNS = parent.lNS;
var lMOZ = parent.lMOZ;
var lOpe = parent.lOpe;
var lIPAD = parent.lIPAD;
var lSafari = parent.lSafari;

var lFallback = false;

if(parent.SITE.lInjecting==true) {
  var THISFONT = parent.COLS["extern_font"];
  lFallback = true; //alert("i");
} else
  var THISFONT = parent.COLS["main_font"];
var SMALLFONT = parent.COLS["small_font"];
var HDRFONT = parent.COLS["hdr_font"];

var SMALLSIZE = parent.COLS["smallsize"];

//clip:rect(top,right,bottom,left); 
//alert("pagetop");
cCSS = "<STYLE TYPE=\"text/css\">";
cCSS="";
 
if(lFrontLeft=(parent.getfilenamefromdoc(document)=="left00.htm")) 
 BgURL=parent.COLS[parent.COLS["lFrontSame"]?"body_bg_pic":"menu_bg_pic"];
else 
 BgURL=parent.COLS["body_bg_pic"];

if (lNS==true){
 // left: 105px mit Balken
 cCSS+= ( "body { background-color:"+parent.COLS["body_bg"]+"; background-image:url(" + BgURL + "); background-attachment:fixed; border-left:0px; margin-left:8px; margin-top:-5px; margin-bottom:0px; font-family: "+THISFONT+"; font-size:12px; line-height:13px;" +
 "scrollbar-base-color:" + parent.COLS["body_bg"]+"; scrollbar-face-color:"+parent.COLS["body_bg"]+"; }\n");
 size12=parent.COLS["normsize"]+"px"; // (lOpe?"12px":"12px");
}else{
 cCSS+= ( "body { background-color:"+parent.COLS["body_bg"]+"; background:url(" + BgURL + ") fixed; margin-left:8px; margin-top:-5px; margin-bottom:0px; font-family: "+THISFONT+"; font-size:12px; line-height:16px;" +
 "scrollbar-base-color:" + parent.COLS["body_bg"]+"; scrollbar-face-color:"+parent.COLS["body_bg"]+"; }\n");
 size12=parent.COLS["normsize"]+"px"; // "12px";
}; 
 
cCSS+= ( "A:link, A:visited { color:"+(lFallback==true?"#2266EE":parent.COLS["link"])+"; text-decoration: none; font-family: "+THISFONT+";  font-weight:500; letter-spacing:0px; }\n" +
 "A:active, A:hover { color:"+parent.COLS["link_active"]+"; font-family: "+THISFONT+"; font-weight:500; }\n" +
 "A:active { text-decoration: underline;  }\n" +
 "A:link.diggies, A:visited.diggies { color:"+parent.COLS["link"]+";}\n" +
 "A:active.diggies, A:hover.diggies { color:"+parent.COLS["link_active"]+";}\n" +

 "TR, TD {font-family: "+THISFONT+"; }\n" +
 "UL {list-style:disc; line-height:"+(lNS?"126%":"120%")+";margin-top:0px;}\n" +
 "LI {padding-bottom:"+(lNS?"5":"5")+"px;padding-top:5px;}\n" +

 "SUB,SUP {font-size:75%;}\n" +

 "P {margin-top:0px;margin-bottom:8px;}" + 

 "H1, H2, H3, H4, H5 {font-family: "+HDRFONT+"; font-weight:700; margin-top:10px; margin-bottom:10px;}\n" +
 "H1 { font-size:22px;}\n" +
 "H2 { font-size:17px;}\n" +
 "H3 { font-size:17px; padding-left:3px; margin-top:16px; margin-bottom:8px;  xline-height:20px; height:21px !important; color:"+parent.COLS["H3_txt"]+"; background-color:"+parent.COLS["H3_bg"]+"}\n" +
 "H4 { font-size:15px; font-weight:500; margin-top:6px; margin-bottom:6px; }\n" +
 "H5 { font-size:13px; margin-top:4px; margin-bottom:4px; }\n" +

 ".txt0, TABLE.txt0, TD.txt0, DIV.txt0 { font-family: "+THISFONT+"; text-align:justify; font-size:"+size12+"; font-weight:400;  line-height:"+size12*1.25+"px; color:"+parent.COLS["txt0"]+"; }\n" +
 ".txt0 B, TABLE.txt0 B, TD.txt0 B {color:"+parent.COLS["txt0B"]+"; }\n" +
 ".txt0B { font-family: "+THISFONT+"; text-align:justify; font-size:"+size12+"; font-weight:600; line-height:"+size12*1.25+"px; color:"+parent.COLS["txt0B"]+"; }\n" +

 ".txt1, TABLE TR TD.txt1, TD.txt1 { font-family: "+THISFONT+"; text-align:justify; font-size:"+size12+"; font-weight:400;  color:"+parent.COLS["txt1"]+"; }\n" +
 ".txt1B, TABLE TR TD.txt1B { font-family: "+THISFONT+"; text-align:justify; font-size:"+size12+"; font-weight:700; color:"+parent.COLS["txt1"]+"; }\n" +

 ".txt2, table tr td.txt2 { font-family: "+THISFONT+"; text-align:justify; font-size:"+size12+"; line-height:"+size12*1.25+"px; font-weight:400; color:"+parent.COLS["txt2"]+"; }\n" +
 ".txt2B, P.txt2B, TD.txt2B { font-family: "+THISFONT+"; text-align:justify; font-size:"+size12+"; line-height:"+size12*1.25+"px; font-weight:700; color:"+parent.COLS["txt2"]+"; }\n" +

 ".wleft, table.wleft, td.wleft {text-align:left; vertical-align:top;}\n" +

 ".navtxt { font-family: "+SMALLFONT+"; font-size:"+(parent.min(SMALLSIZE+(lMOZ?1.5:2)),11)+"px; vertical-align:middle; font-weight:500; color:"+parent.COLS["smalltxt"]+"; }\n" +

// ".smalltxt, TD.smalltxt { position:relative; top=0px; line-height:"+(lMOZ?12:13)+"px; font-family: "+SMALLFONT+"; font-size:" + (!lNS ? 11 : (lMOZ ? 9:11)) + "px; font-weight:200; letter-spacing: +0.5px; color:#000000; }\n" +
 ".smalltxt, TD.smalltxt { position:relative; top:0px; line-height:"+(SMALLSIZE+(lMOZ?2:2))+"px; font-family: "+SMALLFONT+"; font-size: " + SMALLSIZE + "px; font-weight:300; color:"+parent.COLS["smalltxt"]+"; }\n" +
 "A.h3ins, .h3ins {display:inline; top:0px; color:"+parent.COLS["H3_txt"]+" !important;text-decoration:none;font-size: " + SMALLSIZE + "px;}\n A:hover.h3ins {font-weight:700;}\n" +

 "#wpalinksDiv {position:absolute; left:0px; top:0px; width:100px; height:644px; margin-left:0px; margin-top:-5px; margin-right:-10px; }\n" +
 //background-color:#C0C0C0; layer-background-color:#C0C0C0;
 "#wpalinksDiv2 {position:absolute; left:0px; top:645px; width:100px; height:650px; margin-left:0px; margin-top:-5px; margin-right:-10px; }\n" +
 ".diggies, .diggies TR, .diggies TD, .diggies IMG, .diggies A:link, .diggies A:visited  {border-width:0px; line-height:" + (SMALLSIZE+1) + "px; text-align:center; vertical-align:middle; white-space:nowrap; font-family: "+SMALLFONT+"; font-size:" + SMALLSIZE + "px; font-weight:200; color:#000000; text-decoration:none;}\n" +
 "IMG.diggies {margin-left:2px !important;}" +

 ".lightbox {" + (lNS?"":"border: solid #FFFFF0 0px;border-left:4px !important;") + "border-radius:4px; -moz-border-radius:4px; -khtml-border-radius:4px; -webkit-border-radius:4px; box-shadow: 2px 2px 3px #000; -moz-box-shadow: 2px 2px 3px #000; -khtml-box-shadow: 2px 2px 3px #000; -webkit-box-shadow: 2px 2px 3px #000; position:relative; zoom:1; filter:Alpha(opacity="+(parent.COLS.lightboxT*100)+"); background:"+parent.COLS.lightbox+"; opacity:"+(parent.COLS.darkboxT)+"; margin-top:0px; "+(!lNS?"":"margin-right:4px; ")+"padding:0.1em 0.4em 0.2em 0.4em;}\n" +
 ".darkbox {border-radius:4px; -moz-border-radius:4px; -khtml-border-radius:4px; -webkit-border-radius:4px; box-shadow: 3px 3px 3px #333333; -moz-box-shadow: 3px 3px 3px #333333; -khtml-box-shadow: 3px 3px 3px #333333; -webkit-box-shadow: 3px 3px 3px #333333; position:relative; zoom:1; filter:Alpha(opacity="+(parent.COLS.darkboxT*100)+"); background:"+parent.COLS.darkbox+"; opacity:"+(parent.COLS.darkboxT)+"; margin-top:0px; "+(!lNS?"":"margin-right:4px; ")+"padding:0.1em 0.4em 0.2em 0.4em;}\n" +
 ".nomargin {margin:0px;border:0px;}\n" +
 ".boxframe {border: solid 1px #5C66FF; padding:4px !important;}\n" + 

 ".news {color:#000000;}\n" +

 ".column3  {display:block; position:absolute; left:535px; width:190px; padding-left:"+(lNS?6:0)+"px;}\n" +
 ".column3f {display:block; position:absolute; left:535px; width:204px;}\n" +
 ".H3topfix {vertical-align:bottom;"+(!lNS?"top:-14px;":"")+"}\n" + 
 
 "#m_itemsdiv {position:relative;top:0px;left:0px;padding-top:10px;text-align:center;width:"+parent.COLS.mpage_width+"px !important;background-color:"+parent.COLS.mpage_backpane+"}\n" +
 "A.mpagelnk, A:link.mpagelnk, A:visited.mpagelnk, A:hover.mpagelnk, .mpagelnk   { text-decoration:none;color:"+parent.COLS.mpage_caption+";background-color:"+parent.COLS.menu_bg+" !important;}\n" +
 "A:hover.mpagelnk   {color:#FFFFFF;cursor:hand;}\n" +
 ".mpagepic   {display:inline;width:"+parent.COLS.mpage_pwidth+"px;margin:10px;margin-bottom:0px;border:0px;background-color:"+ "#FFFFFF" /*parent.COLS.menu_bg*/ +" !important;}\n" +
 ".mpicdiv    {display:inline;width:"+(tw=parent.COLS.mpage_pwidth+20)+"px;height:"+(tw-15)+";overflow-y:hidden;}\n" +
 ".mprowdiv {white-space:nowrap;}\n" +
 //".mptextdiv  {position:relative;top:-20px;height:20px;width:"+parent.COLS.mpage_pwidth+"px;text-align:left;vertical-align:middle;color:"+parent.COLS.mpage_caption+";background-color:transparent;padding:2px;font-weight:900;}\n" +
 ".mptextdiv  {position:relative;top:-20px;height:20px;width:"+parent.COLS.mpage_pwidth+"px;text-align:left;vertical-align:middle;background-color:transparent;padding:2px;font-weight:900;}\n" +
 ".darkblend  {position:relative; zoom:1; filter:Alpha(opacity="+(parent.COLS.darkboxT*85)+"); background:"+parent.COLS.darkbox+"; opacity:"+(parent.COLS.darkboxT)+";}\n" +
 ".darkblend1 {position:relative; zoom:1; filter:Alpha(opacity=85); background:#222244; opacity:0.85;}\n" +
 ".lightblend {position:relative; zoom:1; filter:Alpha(opacity=90); background:#FFFFFF; opacity:0.9;}\n" +
 "#m_descriptiondiv {position:relative;top:0px;left:0px;width:"+parent.COLS.mpage_width+"px !important;padding:20px;}\n" + 

 "#frontpageTB {margin-top:"+(lNS?"1em;":"0px;")+";}\n" +
 (lNS?"":"#hottopic {border: 4px #FFFFFF solid;}\n") +

 ".IFiPAD {"+(lIPAD?"":"display:none;")+"}\n" + 

 "TABLE.gallery {margin-top:8px;}\n" + 
 ".gallery, TABLE.gallery, TD.gallery {background:transparent;border-collapse:collapse;border:"+parent.COLS["gal_border"]+"; padding:1px; font-family: "+SMALLFONT+"; font-size:" + (lNS && !lMOZ ? 9:9) + "px; font-weight:200; color:#000000; }\n" +
 (true?".gallery IMG {display:block; visibility:hidden; max-width:260px !important;}\n":"") +
 ((parent.document.body.parentNode)?"\n table.gallery {visibility:hidden;}\n":"") +

// "#picview {visibility:hidden; position:absolute; top:-30px; left=2px; background-color:#AAAAAA; background:url(../_framesrsc/buttonframe.jpg); padding:6px; border-width:0px; overflow:scroll;}\n" +
//
 "#picview  {-moz-border-radius:4px; -khtml-border-radius:4px; -webkit-border-radius:4px; border-radius:4px; box-shadow: 2px 2px 3px #000; -moz-box-shadow: 2px 2px 3px #000; -khtml-box-shadow: 2px 2px 3px #000; -webkit-box-shadow: 2px 2px 3px #000; display:block; visibility:hidden; position:absolute; top:-30px; left:3px; z-index:3; background-color:#DDDDDD; border-width:2px; padding:3px;padding-bottom:"+(lNS?"3":"0")+"px; border-color:#3300AA; border-style:groove;}\n" +
 "#picframe {position:absolute; top:0px; left:-3px; padding:0px;}\n" +
 "#picmaxed {position:relative; border:0px; margin:0px; z-index:-1;}\n" +
 "#GAL_controls {position:absolute; white-space:nowrap; right:40px; height:33px !important; visibility:hidden; text-decoration:none; z-index:5; background-color:#DDDDDD; border-width:3px; border-style:groove; border-color:#FFFFFF; margin-bottom:0px; padding:3px; padding-bottom:"+(lNS?"0":"3")+"px}\n" +
 "#galtable {margin-top:"+(lOpe||lSafari||!lNS?"18":"10")+"px;margin-bottom:16px;}\n" +

 "#vidplay {margin-left:" + (lOpe?0:(lMOZ?1:2)) + "px; margin-top:-2px;}\n" +
 ".playerheader {cursor:hand;display:block;zoom:1;white-space:nowrap; vertical-align:top !important; text-align:left !important; line-height:20px; height:22px; margin-bottom:4px; border:0px;}\n" +
 ".playercomment {position:absolute; width:181px; left:" + (parent.YT_PAR["Width"] * 1 + (lOpe?4:(lSafari?5:(lMOZ?14:6)))) + "px; border-width:1px; border-style:solid; border-color:#CCCCCC;line-height:1em;}\n" +
 "#tx_yt_auto, #tx_yt_hq {position:relative;top:"+(lMOZ?-4:0)+"px; line-height:"+(size12*1.20)+"px;}\n"

);

 //----------- check no double exec #####
//cCSS+=( "</STYLE> <meta http-equiv=\"imagetoolbar\" content=\"no\">");
//cCSS+="</STYLE>";
var hh = document.getElementsByTagName('head')[0];
var sc   = document.createElement("style");
//sc.type  = "text/css";  
//sc.rel = "stylesheet";
//sc.text   = cCSS;
sc.setAttribute("type", "text/css");
sc.id="wpacss";
if (sc.styleSheet) {   // IE
    sc.styleSheet.cssText = cCSS;
} else {                // the world
    //sc.innerHTML = cCSS;
    var tt1 = document.createTextNode(cCSS);
    sc.appendChild(tt1);
}
//hh.insertBefore(sc, hh.firstChild);
hh.appendChild(sc);


if (lNS==true){
 //document.html.style.scrollbarBaseColor = parent.COLS["body_bg"];
 //document.html.style.scrollbarFaceColor = parent.COLS["body_bg"];
};