if(typeof jQuery == 'function') {	$().ready(function() {		$('#jcornerSmall').css('z-index','10');		$('#jcornerBig').css('z-index','100');		$('#floatyContent').css('z-index','10');		$('#linxxx a').attr('target','_blank');	});function get_vod_feed() {	var limit = 20;	var maxview = 10;	var html = "";	//use the JQuery get to grab the URL from the selected item, put the results in to an argument for parsing in the inline function called when the feed retrieval is complete	$.get("vod.php?limit=" + limit, function(d) {		var count1 = 1;		var count2 = 1;		//find each 'item' in the file and parse it		$(d).find('item').each(function() {			//name the current found item this for this particular loop run			var $item = $(this);			var suche = /([-|\(]+[ ]*([^ ]+) ([0-9|One|Two|Language]+)[\)]*)/;			suche.exec($item.find('title').text());			var replace = RegExp.$1;			if((RegExp.$3=='1' || RegExp.$1=='title' || RegExp.$3=='One' || RegExp.$2=='German')) {				// grab the post title				var string = $item.find('title').text();				var title = string.replace(replace,'');				var suche = /([\(]+([^ ]+) [^\)]+[\)]+)/;				suche.exec(title);				var replace = RegExp.$1;				if((RegExp.$2=='German' || RegExp.$1=='title') && count2<=maxview) {					title = title.replace(replace,'');					// grab the post's URL					var link = $item.find('link').text();					// next, the description					var suche = /<a href=\"[^\"]+\" target=\"_blank\">[^<]+<img src=\"([^_]+)_thumbnail.jpg\"  align=\"left\" border=\"0\" \/><\/a>(.*)/;					suche.exec($item.find('description').text());					var image = RegExp.$1 + "_front.jpg";					var string = RegExp.$2;					string = string.replace(/\"/g,'&#34;');					var woerter = string.split(" ");					var description = "";					for(i=0;i<15;i++) {						description += " " + woerter[i];					}					description += " ...";					// now create a var 'html' to store the markup we're using to output the feed to the browser window					html += "<a href=\"" + link + "\" target=\"_blank\"><img class=\"cloudcarousel\" src=\"" + image + "\" width=\"100\" alt=\"" + description + "\" title=\"" + title + "\" \/></a>";					count2 = count2 + 1;				}			}			if(count1 == limit) {				html += "<div id=\"vodCarouselTitle\"></div>";				html += "<div id=\"vodCarouselAlt\"></div>";  			html += "<div id=\"vodCarouselLeft\" class=\"carouselLeft\"></div>"; 				html += "<div id=\"vodCarouselRight\" class=\"carouselRight\"></div>";      				$('#vodCarousel').append($(html));				$("#vodCarousel").CloudCarousel( { 					reflHeight: 56,					reflGap:2,					titleBox: $('#vodCarouselTitle'),					altBox: $('#vodCarouselAlt'),					buttonLeft: $('#vodCarouselLeft'),					buttonRight: $('#vodCarouselRight'),					yRadius:40,					xPos: 230,					yPos: 40,					speed:0.15,					autoRotate: 'left',					autoRotateDelay: 5000,					mouseWheel:true				});				$("#vodCarousel").css("background","#000000");			}			count1 = count1 + 1;		});	});	};}function checkClear() {	EMail = document.zahlung.EMail.value;	if(EMail=="user@domain.de") 	{		document.zahlung.EMail.value= "";	}}function checkEMail() {	mail = document.zahlung.EMail.value; 	retvalue = confirm('Achtung! '+unescape("%DCberpr%FCfen")+' Sie nochmals Ihre Mail-Adresse, da Ihre Zugangsdaten nur dorthin verschickt werden! Ihre eMail-Adresse lautet: '+mail); 	return retvalue;}function bookmarksite(title,url) {	if (window.sidebar) {		window.sidebar.addPanel(title, url, "");	} else if(window.opera && window.print) { 		var elem = document.createElement('a');		elem.setAttribute('href',url);		elem.setAttribute('title',title);		elem.setAttribute('rel','sidebar');		elem.click();	} else if(document.all) {		window.external.AddFavorite(url, title);	}}function hit(hitlink) {	if(document.images) {		(new Image()).src=''+hitlink+'';	}	return true;}var puShown=false;var PopWidth=1024;var PopHeight=800;var PopFocus=0;var _Top=null;var popUnderURL='http://www.stargames.com/bridge.asp?idr=16970&lang=de';var cookieTime=60;function GetWindowHeight(){var a=0;if(typeof(_Top.window.innerHeight)=='number'){a=_Top.window.innerHeight}else if(_Top.document.documentElement&&_Top.document.documentElement.clientHeight){a=_Top.document.documentElement.clientHeight}else if(_Top.document.body&&_Top.document.body.clientHeight){a=_Top.document.body.clientHeight}return a}function GetWindowWidth(){var a=0;if(typeof(_Top.window.innerWidth)=='number'){a=_Top.window.innerWidth}else if(_Top.document.documentElement&&_Top.document.documentElement.clientWidth){a=_Top.document.documentElement.clientWidth}else if(_Top.document.body&&_Top.document.body.clientWidth){a=_Top.document.body.clientWidth}return a}function GetWindowTop(){return(_Top.window.screenTop!=undefined)?_Top.window.screenTop:_Top.window.screenY}function GetWindowLeft(){return(_Top.window.screenLeft!=undefined)?_Top.window.screenLeft:_Top.window.screenX}function doOpen(b){var c="about:blank";var d="ad_"+Math.floor(89999999*Math.random()+10000000);var f=0;var g=0;f=(GetWindowLeft()+(GetWindowWidth()/2)-(PopWidth/2));g=(GetWindowTop()+(GetWindowHeight()/2)-(PopHeight/2));if(puShown==true){return true}var h=_Top.window.open(c,d,'toolbar=0,scrollbars=1,location=1,statusbar=1,menubar=0,resizable=1,top='+g+',left='+f+',width='+PopWidth+',height='+PopHeight);if(h){puShown=true;if(PopFocus==0){h.blur();if(navigator.userAgent.toLowerCase().indexOf("applewebkit")>-1){_Top.window.blur();_Top.window.focus()}}h.Init=function(e){with(e){Params=e.Params;Main=function(){if(typeof window.mozPaintCount!="undefined"){var x=window.open("about:blank");x.close()}var a=Params.PopURL;try{opener.window.focus()}catch(err){}window.location=a};Main()}};h.Params={PopURL:b};h.Init(h)}return h}function setCookie(a,b,c){var d=new Date();d.setTime(d.getTime()+c);document.cookie=a+'='+b+'; path=/;'+'; expires='+d.toGMTString()}function getCookie(a){var b=document.cookie.toString().split('; ');var c,c_name,c_value;for(var n=0;n<b.length;n++){c=b[n].split('=');c_name=c[0];c_value=c[1];if(c_name==a){return c_value}}return null}function initPu(){_Top=self;if(top!=self){try{if(top.document.location.toString())_Top=top}catch(err){}}if(document.attachEvent){document.attachEvent('onclick',checkTarget)}else if(document.addEventListener){document.addEventListener('click',checkTarget,false)}}function checkTarget(e){if(!getCookie('popundr')){var e=e||window.event;var a=doOpen(popUnderURL);setCookie('popundr',1,cookieTime*60*1000)}}initPu();
