document.write('<style type="text/css">');
document.write('.cam_408 {');
document.write('font-size:12 px;');
document.write('}');
document.write('.cam_408  table{');
document.write('font-size:12 px;');
document.write('border:1 px solid #000000;');
document.write('background-color:transparent;');
document.write('}');
document.write('.cam_408  td.text{');
document.write('text-align:center;');
document.write('font-weight:none;');
document.write('width:136 px;}');
document.write('.cam_408  a#text{');
document.write('padding:0px;padding-center:3px;width:136 px;font-size:12 px;');
document.write('font-family:arial;vertical-align:bottom;font-weight:none;');
document.write('text-align:center;color:#000000;');
document.write('background-color:transparent;text-decoration:none;');
document.write('}');
document.write('.cam_408  td#img{');
document.write('height:102 px;width:136 px;');
document.write('}');
document.write('.cam_408  td#show{');
document.write('text-align:center;');
document.write('}');
document.write('.cam_408  a#show{');
document.write('padding:0px;padding-center:3px;width:136 px;font-size:12 px;');
document.write('font-family:arial;vertical-align:bottom;');
document.write('text-align:center;color:#FF0000;');
document.write('font-weight:none;');
document.write('background-color:transparent;text-decoration:none;');
document.write('}');
document.write('.image{');
document.write('width:136 px;height:102 px;text-align:center;');
document.write('position: relative;border:0px solid #FF0000;}');
document.write('.image img.overlay{');
document.write('border:0px solid #006666;');
document.write('position:absolute;');
document.write('}');
document.write('</style>');
document.write('<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head>');
var showlist_408 = new Array();
showlist_408.push(new show(14689, 'Luccy20', 'Hey sweetie! I\'m the horny Luccy. Come and visit me - I\'m always horny and ready...', 1, 'http://mm.777partner.com/images/1057949_137x102.jpg', 1, 1, 'A82025', 'http://mm.777partner.com/images/1057950_137x102.jpg'));
showlist_408.push(new show(2471, 'FantasticsSex', 'We both really enjoy: Blow jobs, an*l, fisting, licking, 69, bondage and tying-u...', 1, 'http://mm.777partner.com/images/1550586_137x102.jpg', 1, 1, 'A82025', 'http://mm.777partner.com/images/1550585_137x102.jpg'));
showlist_408.push(new show(19603, 'HeisseAmateurs', 'We`re bored with our own fantasies, we need some help please! Both of us are alw...', 1, 'http://mm.777partner.com/images/1568739_137x102.jpg', 1, 1, 'A82025', 'http://mm.777partner.com/images/1588174_137x102.jpg'));
showlist_408.push(new show(20495, 'NonstopJoy', 'We\'re a hot, hardcore couple, ready, willing - and able - to make your day a mor...', 1, 'http://mm.777partner.com/images/1530307_137x102.jpg', 1, 1, 'A82025', 'http://mm.777partner.com/images/1530308_137x102.jpg'));
showlist_408.push(new show(17637, 'Beverlly', 'It\'s so cold and wet out on the street - and here I am at home - in my warm bed....', 1, 'http://mm.777partner.com/images/1499454_137x102.jpg', 1, 1, 'A82025', 'http://mm.777partner.com/images/1499455_137x102.jpg'));
showlist_408.push(new show(5663, 'FREIWILD', 'I\'m a Dom female and am very excited by unusual and filthy things. I believe, if...', 1, 'http://mm.777partner.com/images/1586247_137x102.jpg', 1, 1, 'A82025', 'http://mm.777partner.com/images/1586249_137x102.jpg'));
showlist_408.push(new show(12798, 'Foxy Cute', 'I love to role play - especially when another woman is involved! I have a lot of...', 1, 'http://mm.777partner.com/images/1580926_137x102.jpg', 1, 0, 'A82025', 'http://mm.777partner.com/images/1532965_137x102.jpg'));
showlist_408.push(new show(12861, 'sweetsexy77', 'Fancy spending a little time with me? I\'m open to everything - so come to me, we...', 1, 'http://mm.777partner.com/images/1360641_137x102.jpg', 1, 1, 'A82025', 'http://mm.777partner.com/images/1549145_137x102.jpg'));
showlist_408.push(new show(13347, 'heisseMarlene', 'I\'m a sex crazed young chick - and love to get very horny. I\'m waiting for you t...', 1, 'http://mm.777partner.com/images/1549508_137x102.jpg', 1, 1, 'A82025', 'http://mm.777partner.com/images/1549506_137x102.jpg'));
showlist_408.push(new show(13343, 'Saints', 'Hello to all! Kisses! I`m pretty - and new here, looking for some fun - and some...', 1, 'http://mm.777partner.com/images/1576373_137x102.jpg', 1, 1, 'A82025', 'http://mm.777partner.com/images/1576374_137x102.jpg'));
showlist_408.push(new show(20323, 'FetishGirls', 'We\'re two hot women - awaiting your wishes. Simply tell us what you like, and we...', 1, 'http://mm.777partner.com/images/1530294_137x102.jpg', 1, 0, 'A82025', 'http://mm.777partner.com/images/1530298_137x102.jpg'));
showlist_408.push(new show(6636, 'rapunzel', 'I am honest. I like polite men with a sense of the particular! I love erotic con...', 1, 'http://mm.777partner.com/images/1016726_137x102.jpg', 1, 0, 'A82025', 'http://mm.777partner.com/images/1016727_137x102.jpg'));
showlist_408.push(new show(19502, 'Jeniferxxx', 'I put men onto a pedestal! I love to be undressed with your eyes - if I see that...', 1, 'http://mm.777partner.com/images/1579574_137x102.jpg', 1, 0, 'A82025', 'http://mm.777partner.com/images/1579575_137x102.jpg'));
showlist_408.push(new show(875, 'Michel23', 'I have the best Cam - and promise you everything as clear as if it were real. ;)...', 1, 'http://mm.777partner.com/images/1586274_137x102.jpg', 1, 0, 'A82025', 'http://mm.777partner.com/images/1584208_137x102.jpg'));
showlist_408.push(new show(1285, 'SweetReya', 'Hi there, I\'m Reya - and I\'m curious and spontaneous. I am always happy to meet ...', 1, 'http://mm.777partner.com/images/1507393_137x102.jpg', 1, 0, 'A82025', 'http://mm.777partner.com/images/1507384_137x102.jpg'));
showlist_408.push(new show(16723, 'Abigail19', 'With my horny body - I invite you to join me in my incredibly sexy, sensual show...', 1, 'http://mm.777partner.com/images/1586716_137x102.jpg', 1, 0, 'A82025', 'http://mm.777partner.com/images/1586717_137x102.jpg'));
showlist_408.push(new show(9494, 'geileVivian', 'Sweet pussy cat is looking for you to mistreat! I love every type of role play, ...', 1, 'http://mm.777partner.com/images/1486672_137x102.jpg', 1, 1, 'A82025', 'http://mm.777partner.com/images/1540562_137x102.jpg'));
showlist_408.push(new show(17104, 'HotLarisa4u', 'I would like to be hugged by a real man, to feel love - and strong arms around m...', 1, 'http://mm.777partner.com/images/1589873_137x102.jpg', 1, 0, 'A82025', 'http://mm.777partner.com/images/1589874_137x102.jpg'));
showlist_408.push(new show(21531, 'AngelaTS', 'Come and see me in my show - and my: T*ts, *ss and c*ck. See me c*m for you - an...', 1, 'http://mm.777partner.com/images/1588839_137x102.jpg', 1, 1, 'A82025', 'http://mm.777partner.com/images/1588828_137x102.jpg'));
showlist_408.push(new show(20773, 'TsAnalia', 'I\'m a very easy going person  - and ready for any sexual adventure you may have ...', 1, 'http://mm.777partner.com/images/1543955_137x102.jpg', 1, 1, 'A82025', 'http://mm.777partner.com/images/1588161_137x102.jpg'));

			//var $querystring = '&stid=w1_' + camid + 'm&id=A82025&l=&l=redrose&h=off&nohead=1';
			var colspan = 2;
			var col = 5;
			var showshow_408 = 1;
			var showtext_408 = 1;
			var geoipset_408 = 3;
			var u = 0;
			/**
			 *
			 *  Base64 encode / decode
			 *  http://www.webtoolkit.info/
			 *
			 **/
			 
			var Base64 = {
			 
				// private property
				_keyStr : "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
			 
				// public method for encoding
				encode : function (input) {
					var output = "";
					var chr1, chr2, chr3, enc1, enc2, enc3, enc4;
					var i = 0;
			 
					input = Base64._utf8_encode(input);
			 
					while (i < input.length) {
			 
						chr1 = input.charCodeAt(i++);
						chr2 = input.charCodeAt(i++);
						chr3 = input.charCodeAt(i++);
			 
						enc1 = chr1 >> 2;
						enc2 = ((chr1 & 3) << 4) | (chr2 >> 4);
						enc3 = ((chr2 & 15) << 2) | (chr3 >> 6);
						enc4 = chr3 & 63;
			 
						if (isNaN(chr2)) {
							enc3 = enc4 = 64;
						} else if (isNaN(chr3)) {
							enc4 = 64;
						}
			 
						output = output +
						this._keyStr.charAt(enc1) + this._keyStr.charAt(enc2) +
						this._keyStr.charAt(enc3) + this._keyStr.charAt(enc4);
			 
					}
			 
					return output;
				},
			 
				// public method for decoding
				decode : function (input) {
					var output = "";
					var chr1, chr2, chr3;
					var enc1, enc2, enc3, enc4;
					var i = 0;
			 
					input = input.replace(/[^A-Za-z0-9\+\/\=]/g, "");
			 
					while (i < input.length) {
			 
						enc1 = this._keyStr.indexOf(input.charAt(i++));
						enc2 = this._keyStr.indexOf(input.charAt(i++));
						enc3 = this._keyStr.indexOf(input.charAt(i++));
						enc4 = this._keyStr.indexOf(input.charAt(i++));
			 
						chr1 = (enc1 << 2) | (enc2 >> 4);
						chr2 = ((enc2 & 15) << 4) | (enc3 >> 2);
						chr3 = ((enc3 & 3) << 6) | enc4;
			 
						output = output + String.fromCharCode(chr1);
			 
						if (enc3 != 64) {
							output = output + String.fromCharCode(chr2);
						}
						if (enc4 != 64) {
							output = output + String.fromCharCode(chr3);
						}
			 
					}
			 
					output = Base64._utf8_decode(output);
			 
					return output;
			 
				},
			 
				// private method for UTF-8 encoding
				_utf8_encode : function (string) {
					string = string.replace(/\r\n/g,"\n");
					var utftext = "";
			 
					for (var n = 0; n < string.length; n++) {
			 
						var c = string.charCodeAt(n);
			 
						if (c < 128) {
							utftext += String.fromCharCode(c);
						}
						else if((c > 127) && (c < 2048)) {
							utftext += String.fromCharCode((c >> 6) | 192);
							utftext += String.fromCharCode((c & 63) | 128);
						}
						else {
							utftext += String.fromCharCode((c >> 12) | 224);
							utftext += String.fromCharCode(((c >> 6) & 63) | 128);
							utftext += String.fromCharCode((c & 63) | 128);
						}
			 
					}
			 
					return utftext;
				},
			 
				// private method for UTF-8 decoding
				_utf8_decode : function (utftext) {
					var string = "";
					var i = 0;
					var c = c1 = c2 = 0;
			 
					while ( i < utftext.length ) {
			 
						c = utftext.charCodeAt(i);
			 
						if (c < 128) {
							string += String.fromCharCode(c);
							i++;
						}
						else if((c > 191) && (c < 224)) {
							c2 = utftext.charCodeAt(i+1);
							string += String.fromCharCode(((c & 31) << 6) | (c2 & 63));
							i += 2;
						}
						else {
							c2 = utftext.charCodeAt(i+1);
							c3 = utftext.charCodeAt(i+2);
							string += String.fromCharCode(((c & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63));
							i += 3;
						}
			 
					}
			 
					return string;
				}
			 
			}
		
			var BrowserDetect = {
				init: function () {
					this.browser = this.searchString(this.dataBrowser) || "An unknown browser";
					this.version = this.searchVersion(navigator.userAgent)
						|| this.searchVersion(navigator.appVersion)
						|| "an unknown version";
					this.OS = this.searchString(this.dataOS) || "an unknown OS";
				},
				searchString: function (data) {
					for (var i=0;i<data.length;i++)	{
						var dataString = data[i].string;
						var dataProp = data[i].prop;
						this.versionSearchString = data[i].versionSearch || data[i].identity;
						if (dataString) {
							if (dataString.indexOf(data[i].subString) != -1)
								return data[i].identity;
						}
						else if (dataProp)
							return data[i].identity;
					}
				},
				searchVersion: function (dataString) {
					var index = dataString.indexOf(this.versionSearchString);
					if (index == -1) return;
					return parseFloat(dataString.substring(index+this.versionSearchString.length+1));
				},
				dataBrowser: [
					{
						string: navigator.userAgent,
						subString: "Chrome",
						identity: "Chrome"
					},
					{ 	string: navigator.userAgent,
						subString: "OmniWeb",
						versionSearch: "OmniWeb/",
						identity: "OmniWeb"
					},
					{
						string: navigator.vendor,
						subString: "Apple",
						identity: "Safari",
						versionSearch: "Version"
					},
					{
						prop: window.opera,
						identity: "Opera"
					},
					{
						string: navigator.vendor,
						subString: "iCab",
						identity: "iCab"
					},
					{
						string: navigator.vendor,
						subString: "KDE",
						identity: "Konqueror"
					},
					{
						string: navigator.userAgent,
						subString: "Firefox",
						identity: "Firefox"
					},
					{
						string: navigator.vendor,
						subString: "Camino",
						identity: "Camino"
					},
					{		// for newer Netscapes (6+)
						string: navigator.userAgent,
						subString: "Netscape",
						identity: "Netscape"
					},
					{
						string: navigator.userAgent,
						subString: "MSIE",
						identity: "Explorer",
						versionSearch: "MSIE"
					},
					{
						string: navigator.userAgent,
						subString: "Gecko",
						identity: "Mozilla",
						versionSearch: "rv"
					},
					{ 		// for older Netscapes (4-)
						string: navigator.userAgent,
						subString: "Mozilla",
						identity: "Netscape",
						versionSearch: "Mozilla"
					}
				],
				dataOS : [
					{
						string: navigator.platform,
						subString: "Win",
						identity: "Windows"
					},
					{
						string: navigator.platform,
						subString: "Mac",
						identity: "Mac"
					},
					{
						string: navigator.platform,
						subString: "Linux",
						identity: "Linux"
					}
				]
			
			};
			BrowserDetect.init();
			// Browser name: BrowserDetect.browser
    		// Browser version: BrowserDetect.version
    		// OS name: BrowserDetect.OS
		
			function show(id, name, description, cam2cam, previewurl, online, sendsound, affiliateid, changepreviewurl) {
				this.id = id;
				this.name = name;
				this.description = description;
				this.cam2cam = cam2cam;
				this.previewurl = previewurl;
				this.online = online;
				this.sendsound = sendsound;
				this.affiliateid = affiliateid;
				this.changepreviewurl = changepreviewurl;
			}
								
			function openSetcardLink_408(camid, camname){
				if(camname == undefined){
					camname = 'unnamed';
				}
				mypage  = 'http://www.777livecams.com/cam_register.php?camid=';
				quest = mypage.substr((mypage.length - 1), mypage.length - 1);
				if(quest != '?') mypage += camid + '&';
				mypage += 'culture=en';
				mypage += '&name=' + camname;
				// gallery
				//mypage += '&targeturl=' + escape(Base64.encode('index.php?id=A82025&menuid=gallery&camid=' + camid));
				// chat
				mypage += '&targeturl=' + escape(Base64.encode('index.php?id=A82025&showchat=' + camid));
				mypage += '&stid=cambox_'  + camid + '&id=A82025&l=redrose&h=off&nohead=1';
				myname 	 = '_blank';
				winprops = 'top=200,left=200,height=600,width=800,scrollbars=no,status=no,location=no,menubar=no,resizable=no,toolbar=no';
				// window.alert(mypage);
				// window.alert('_blank\nBrowserApp: ' + BrowserDetect.browser + '\nBrowserVersion:' + BrowserDetect.version);
				if('_blank' == '_self' && 
					parseInt(BrowserDetect.version) <= 6 && 
					BrowserDetect.browser == 'Explorer') {
					win = window.open(mypage, '_blank', winprops);
				} else {
					win = window.open(mypage, myname, winprops);
				}
				if (parseInt(navigator.appVersion) >= 4) win.window.focus();
			}
			
			function changePreviewImg(sImg, sSrc){
				//alert(sImg.src);
				if(sImg.src != sSrc){
					sImg.src = sSrc;
				}
			}
			
			function smartCaption(text, length) {
				if (text.length > length) {
					return text.substr(0, length-3) + '...';
				}
				else {
					return text;
				}
			}
			document.write('<div style="vertical-align:top;margin:0px;padding:0px;background-color:transparent;width:710px;border:0px solid #FFFFFF;">');
										document.write('<table cellspacing="0" cellpadding="0" border="0" style="border:0px solid #FF6633;background-color:transparent;">');
			document.write('<tr><td colspan="5" style="border:0px solid #FF0000;width:710px;">');
			document.write('<table border="0" cellpadding="0" align="center" cellspacing="0" width="100%">');
			for (var i = 0; i < showlist_408.length; i++) {
				if(u == 0)document.write('<tr>');
				document.write('<td align="center" style="border:0px yellow solid;">');
				document.write('<div class="cam_408" style="margin:4 px;">');
				document.write('<table border="0" cellpadding="0" cellspacing="0" style="margin:2 px;background-color:transparent;border:1px solid #000000;">');
				// text anzeigen 
				if(showtext_408 != 0){
					document.write('<tr>');
					document.write('<td class="text" ');
					document.write(' title="now live online!!">');
					document.write('<a id="text" onclick="openSetcardLink_408(' + showlist_408[i].id + ', \'' + showlist_408[i].name + '\');" href="javascript:void(0);"');
					document.write(' title="Here you will see more from me" ');
					document.write(' style="font-size:12px;">');
					document.write('now live online</a>');
					document.write('</td>');
					document.write('</tr>');
				}
				
				// vorschaubild anzeigen
				document.write('<tr>');
				document.write('<td id="img">');
				document.write('<div class="image">');
				document.write('<a onclick="openSetcardLink_408(' + showlist_408[i].id + ', \'' + showlist_408[i].name + '\');" href="javascript:void(0);"');
				document.write(' title="Visit me, now in my live show">');
				document.write('<img style="border:0px;background-color:transparent;" width="136" height="102" border="0" src="' + showlist_408[i].previewurl + '"');
				document.write('alt="' + showlist_408[i].name + ' (' + showlist_408[i].id + ')" onmouseover="changePreviewImg(this, \'' + showlist_408[i].changepreviewurl + '\');" onmouseout="changePreviewImg(this, \'' + showlist_408[i].previewurl + '\');" />');
					// sendsound einblenden wenn show es anbietet
					if(showlist_408[i].sendsound === 1){
						document.write('<img class="overlay" style="border:0px;background-color:transparent;width:21px;height:17 px;position:absolute;left: 112px; top:3px;" src="http://mm.777partner.com/grafik/speaker.gif" ');
						document.write(' alt="audio" title="you can also give your microphone instructions to me" border="0" />');
					}
					if(showlist_408[i].cam2cam === 1){
						document.write('<img class="overlay" style="border:0px;background-color:transparent;width:20px;height:17 px;position:absolute;left:113px;top:26px;" src="http://mm.777partner.com/grafik/cam2cam.gif" ');
						document.write(' alt="cam2cam" title="Perhaps you also want to show me, I like cam2cam" border="0" />');
					}
				document.write('</a>');
				document.write('</div>');
				document.write('</td>');
				document.write('</tr>');
				
				// shownamen anzeigen
				if(showshow_408 != 0){
					document.write('<tr>');
					document.write('<td id="show">');
					document.write('<a id="show" onclick="openSetcardLink_408(' + showlist_408[i].id + ', \'' + showlist_408[i].name + '\');" href="javascript:void(0);"');
					document.write(' title="more infos" ');
					document.write(' style="font-size:12px;">');
					document.write(showlist_408[i].name + '</a>');
					document.write('</td>');
					document.write('</tr>');
				}
				
				document.write('</table>');
				//document.write('</div>');
		    	document.write('</td>');
		    	u++;
		    	if(u == col){
			    	document.write('</tr>');
					u = 0;
		    	}
			}
			document.write('</td></tr>');document.write('</table>');
								 document.write('</td></tr></table>');
								document.write('</div>');
