document.write('<style type="text/css">');
document.write('.allaround {background-color:transparent;border:1px solid #000000;}');
document.write('.preview108 {width:180px; float:left; color:#FFFFFF;');
document.write('margin:3px; padding:0px; cursor:default; font-family: arial; font-size: 12px; background-color: #000000;}');
document.write('.preview108 table {font-size:12px;font-family: arial;width:100%;height:100%; border:0px solid #FFFFFF; }');
document.write('.preview108 img {width:136px;height:102px; border:1px solid #FFFFFF; }');
document.write('.preview108 .previewimage {text-align:center;}');
document.write('.preview108 .cam2cam {text-decoration:none;font-family: arial;font-size:12px; text-align:center; color: #F113DC ;border:0px solid orange;}');
document.write('.preview108 a#showname {text-decoration:none;padding-left:3px;font-weight:bold;font-family: arial; font-size:12px; text-align:center; color: #FF0000 ;border:0px solid orange;}');
document.write('.preview108 .right {text-decoration:none;float:right; font-family: arial; border:0px solid #FF0000;}');
document.write('.preview108 .previewshow {text-decoration:none;text-align:center; font-family: arial; border:0px solid #FF0000;}');
document.write('.preview108 td#showname {text-decoration:none;padding-left:3px;font-weight:bold;font-family: arial; font-size:12px; text-align:center; color: #FF0000 ;border:0px solid orange;}');
document.write('.preview108 td#description {padding-left:3px;font-size:12px;text-decoration:none;font-family: arial; text-align: center; color: #FFFFFF;height:12px; border:0px solid #FF0000;}');
document.write('.preview108 a#online {text-decoration:none;padding-left:3px;text-align:center;font-weight:bold;font-family: arial;list-style-type:disc; font-size:12px; color:#00FF00;}');
document.write('.preview108 a#offline {text-decoration:none;padding-left:3px;text-align:center;list-style-type:disc; font-family: arial; font-size:12px; color:#8C8C8C;}');
document.write('.preview108 .clear {clear:both;}');
document.write('.preview108 .description {padding-left:3px;font-size:12px;text-decoration:none;font-family: arial; text-align: center; color: #FFFFFF;height:12px; border:0px solid #FF0000;}');
document.write('.preview108 td#description {padding-left:3px;font-size:12px;text-decoration:none;font-family: arial; text-align: center; color: #FFFFFF;height:12px; border:0px solid #FF0000;}');
document.write('.preview108 a#description {padding-left:3px;font-size:12px;text-decoration:none;font-family: arial; text-align: center; color: #FFFFFF;height:12px; border:0px solid #FF0000;}');
document.write('.preview108 a#setcard {padding-right:3px;font-size:12px;text-decoration:none;font-family: arial; color:#EA4612; border:0px solid #FF0000;}');
document.write('.column{width:140px;}');
document.write('</style>');
var showlist = new Array();
showlist.push(new show(4499, 'PeeGirl', 'Tabulos und geil! Was Du w&uuml;nschst wird hier gezeigt. Ich switche gern, das hei&icirc;..', 'Tabulos und geil! Wa...', false, 'http://mm.777partner.com/images/1016705_320x240.jpg', 0, 'A56377'));

			var $image = parseInt(1);
			var $description = parseInt(1);
			var $name = parseInt(1);
			var $cam2cam = parseInt(1);
			var $setcardlink = parseInt(0);
			//var $querystring = '&stid=w10_' + camid + 'm&id=A56377&l=redrose&h=on&nohead=1';
			var colspan = 2;
		
			function show(id, name, description, shortdescription, cam2cam, previewurl, online, affiliateid) {
				this.id = id;
				this.name = name;
				this.description = description;
				this.shortdescription = shortdescription;
				this.cam2cam = cam2cam;
				this.previewurl = previewurl;
				this.online = online;
				this.affiliateid = affiliateid;
		
				this.printid = printid;
				this.printname = printname;
				this.printdescription = printdescription;
				this.printpreviewimage = printpreviewimage;
				this.printpreviewlink = printpreviewlink;
				this.printsetcardlink = printsetcardlink;
				this.printonline = printonline;
				this.printcam2cam = printcam2cam;
		
				this.display = display;
		
				function printid() { document.write(this.id); }
				function printname() { document.write(this.name); }
				function printdescription() { document.write(this.description); }
				function printpreviewimage() { document.write('<img src="' + this.previewurl + '" border="0">'); }
				function printpreviewlink() {
					document.write('<a target="_blank" href="' + this.setcard + '&id=' + this.affiliateid + '">');
					document.write('<img src="' + this.previewurl + '" border="0">');
					document.write('</a>');
				}
				function printsetcardlink() { 
					document.write('<a target="_blank" href="' + this.setcard + '&id=' + this.affiliateid + '">Sedcard</a>'); 
				}
				
				function printonline() {
					if (this.online) {
						document.write('Jetzt live online');
					}
					else {
						document.write('Bald wieder online');
					}
				}
				function printcam2cam() {
					if (this.cam2cam) {
						document.write('cam2cam');
					}
					else {
						document.write('&nbsp;');
					}
				}
				function display () {
					document.write('id: ' + this.id);
					document.write('<br>name: ' + this.name);
					document.write('<br>description: ' + this.description);
					document.write('<br>cam2cam: ' + this.cam2cam);
					document.write('<br>preview: <img src="' + this.previewurl + '" border="0">');
					document.write('<br>setcard: <a target="_blank" href="' + this.setcard + '">setcard</a>');
				}
			}
		   	function openSetcardLink_108(camid){
				mypage  = 'http://mm.777partner.com/t7lc/sedcard/sedcard.php?culture=de&showid=';
				t = mypage.substr((mypage.length - 1), mypage.length);
				if(t != '?') mypage += camid + '&';
				mypage += 'culture=de';
				mypage += '&stid=w10_'  + camid + 'm&id=A56377&l=redrose&h=on&nohead=1';
				myname 	 = '_blank';
				winprops = 'top=' + (screen.height - 550) / 2 + ',left=' + (screen.width - 750) / 2 + ',height=550,width=750,scrollbars=0,status=0,location=no,menubar=0,resizable=yes,toolbar=0';
				//window.alert(mypage);
				win 	 = window.open(mypage, myname, winprops);
				if (parseInt(navigator.appVersion) >= 4) { 
					win.window.focus(); 
				}
			}
			
			function smartCaption(text, length) {
				if (text.length > length) {
					return text.substr(0, length-3) + '...';
				}
				else {
					return text;
				}
			}
			/**
			* ausgabe des banners
			*/
			
			document.write('<table class="allaround" border="0" cellpadding="0" cellspacing="1">');
			document.write('<tr><td>');
			for (var i = 0; i < showlist.length; i++) {
				document.write('<div class="preview108">');
				document.write('<table class="previewshow" border="0" cellpadding="0" cellspacing="1" class="preview108">');
				
				/**
				* shownamen ein oder aus
				*/
				document.write('<tr>');
				document.write('<td colspan="2" id="showname"><div class="showname" ');
				document.write(' title="' + showlist[i].name + '">');
			   	if($name != 0){
			   		document.write('<a id="showname" onclick="openSetcardLink_108(' + showlist[i].id + ');" href="#"');
				    document.write(' title="' + showlist[i].name + '">');
				    document.write( smartCaption(showlist[i].name, 15) );
				    document.write('</a>');
				}
				else {
					document.write('&nbsp;');
				}
				//document.write('</div>');
		    	document.write('</td>');
		    	document.write('</tr>');
				
				
				/**
				* VorschauBild ein oder aus
				*/
				if($image !== 0){
					document.write('<tr><td colspan="2">');
		 		   	document.write('<div class="previewimage">');
		    		document.write('<a onclick="openSetcardLink_108(' + showlist[i].id + ');" href="javascript:void(0);"');
				    document.write(' title="Komm in meine Liveshow ..." ');
				    document.write('>');
				    document.write('<img border="0" src="' + showlist[i].previewurl + '"></a>');
				    document.write('</div>');
				    document.write('</td></tr>');
				}
				
			    /**
			    * beschreibung ein oder aus
			   	*/
				if($description != 0){
					document.write('<tr><td colspan="2">');
					document.write('<div ');
					if (showlist[i].description.length > 20) {
		    			document.write(' title="' + showlist[i].description + '"');
		    		}
		    		document.write('>');
		    		document.write('<a id="description" onclick="openSetcardLink_108(' + showlist[i].id + ');" href="javascript:void(0);"');
				    document.write(' title="' + showlist[i].description + '">');
				    document.write( showlist[i].shortdescription );
		   			document.write('</a>');
				    document.write('</div>');
		    		document.write('</td></tr>');
				}
			    
				/**
				* zeile mit onlinehinweis und setcard link
				*/ 
				document.write('<tr>');
				if($setcardlink != 0){
					document.write('<td colspan="1" nowrap ');
				}
				else {
					document.write('<td colspan="2" nowrap> ');
				}
				document.write('<div ');
				if (showlist[i].online == 1) {
					document.write('<div>');
					document.write('<a id="online" onclick="openSetcardLink_108(' + showlist[i].id + ');" href="javascript:void(0);"');
				    document.write(' title="Besuche mich jetzt Live in meiner Show">');
				    document.write('Jetzt live online!!');
				    document.write('</a>');
					document.write('<div>');
			    }
	    		else {
	        		document.write('<div>');
					document.write('<a id="offline" onclick="openSetcardLink_108(' + showlist[i].id + ');" href="javascript:void(0);"');
				    document.write(' title="Ich bin leider zur Zeit nicht online, aber hier trifft Du Kollegen von mir!!">');
				    document.write('Bald wieder online');
				    document.write('</a>');
					document.write('<div>');
	    		}
	 		    document.write('</td>');
	 		   	
			    
				/**
				* setcardlink ein oder aus
				*/
				if($setcardlink !== 0){
					document.write('<td nowrap>');
					document.write('<div class="right">');
		    		document.write('<a id="setcard" ');
		    		document.write('title="hier lernst Du mich naeher kennen" ');
		    		document.write('onclick="openSetcardLink_108(' + showlist[i].id + ');" href="javascript:void(0);">');
		    		document.write('Mehr Infos</a>');
				    document.write('</div>');
				    document.write('</td>');
				}
				document.write('</tr>');
	    		document.write('</table>');
			    document.write('</div>');
			}
			document.write('<div class="clear"></div>');
			document.write('</td></tr></table>');
