//<!--

	var	lineMax;
	var lines;

	function openPayByCallTimeWindow(Link)
	{
		var win = window.open(Link,'PaymentWindow','width=800,height=600,resizable=1');
		if(win)
		{
			win.focus();
		}
	}

	function openPayPageWindow(Link)
	{
		var win = window.open(Link,'PaymentWindow','width=800,height=600,resizable=1');
		if(win)
		{
			win.focus();
		}
	}

	function OpenChatWindow(Link)
	{
		win = window.open(Link,'ChatWindow','width=805,height=595,scrollbars=1,resizable=1');
		if(win)
		{
			win.focus();
		}
	}

	function OpenIODChatWindow(Link)
	{
		win = window.open(Link,'ChatWindow','toolbar=0,width=878,height=475,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,copyhistory=0');
		if(win)
		{
			win.focus();
		}
	}

	function OpenBildarchivWindow(Link)
	{
		win = window.open(Link,'Bildarchiv','toolbar=0,width=560,height=560,location=0,directories=0,status=0,menubar=0,resizable=1,copyhistory=0,scrollbars=1');
		if(win)
		{
			win.focus();
		}
	}

	function OpenSetcardWindow(Link)
	{
		win = window.open(Link,'SetcardWindow','toolbar=0,width=402,height=500,location=0,directories=0,status=0,menubar=0,resizable=1,copyhistory=0');
		if(win)
		{
			win.focus();
		}
	}

	function OpenChatlineWindow(Link)
	{
		win = window.open(Link,'Bildarchiv','toolbar=0,width=520,height=560,location=0,directories=0,status=0,menubar=0,resizable=1,copyhistory=0,scrollbars=1');
		if(win)
		{
			win.focus();
		}
	}

	function OpenGewinnspielWindow(Link)
	{
		var win = window.open(Link,'GewinnspielWindow','width=620,height=600,scrollbars=1,resizable=1');
		if(win)
		{
			win.focus();
		}
	}

	function OpenTPAYMicroMoneyCodeWindow(Link)
	{
		var win = window.open(Link,'TPAYMicroMoneyCodeWindow','width=780,height=560,scrollbars=1');
		if(win)
		{
			win.focus();
		}
	}

	function OpenDessousShopWindow()
	{
		var win = window.open('http://www.cam-content.com/LSPS/_DessousShop/Default.aspx?SystemID=girls-strip-chat.net','DessousShopWindow','width=804,height=600,scrollbars=1,resizable=1');
		if(win)
		{
			win.focus();
		}
	}

	function OpenAVSCalendar2006Window(Link)
	{
		var win = window.open(Link,'AVSCalendar2006Window','width=805,height=560,scrollbars=1');
		if(win)
		{
			win.focus();
		}
	}

	function OpenKalenderKostenlosAbgreifenWindow(Link)
	{
		var win = window.open(Link,'KalenderKostenlosAbgreifenWindow','width=610,height=620,scrollbars=1');
		if(win)
		{
			win.focus();
		}
	}

	function OpenMicroMoneyGutscheinPerAVSWindow(Link)
	{
		var win = window.open(Link,'MicroMoneyGutscheinPerAVSWindow','width=610,height=620,scrollbars=1');
		if(win)
		{
			win.focus();
		}
	}

	function openNewsletterSignupWindow()
	{
		var win = window.open('_Newsletter/Subscribe.aspx?SystemID=girls-strip-chat.net&ADR=&BaseHostName=www.strip-chat.net','ImpressumWindow','width=280,height=280');
		if(win)
		{
			win.focus();
		}
	}

	function openNewsletterCancelWindow()
	{
		win = window.open('_Newsletter/Unsubscribe.aspx?SystemID=girls-strip-chat.net&ADR=&BaseHostName=www.strip-chat.net','ImpressumWindow','width=280,height=280');
		if(win)
		{
			win.focus();
		}
	}

	function openCurrentNewsletterWindow(NewsletterFileName)
	{
		win = window.open('_newsletter/' + NewsletterFileName + '.aspx?SystemID=girls-strip-chat.net&ADR=&BaseHostName=www.strip-chat.net','CurrentNewsletterWindow','width=800,height=560,scrollbars=1');
		if(win)
		{
			win.focus();
		}
	}

	function openPosteingangWindow()
	{
		win = window.open('_Posteingang/Posteingang.aspx','PopupWindow','width=800,height=600,scrollbars=1,resizable=1');
		if(win)
		{
			win.focus();
		}
	}

	function openVideoConferenceWindow()
	{
		win = window.open('_chatmanual/Default.aspx','VideoConferenceWindow','width=800,height=620,scrollbars=0,resizable=1');
		if(win)
		{
			win.focus();
		}
	}

	function openWeckrufWindow()
	{
		var win = window.open('_weckruf/default.aspx?SystemID=girls-strip-chat.net&ADR=&BaseHostName=www.strip-chat.net','PopupWindow','width=603,height=480,scrollbars=1,resizable=1');
		if(win)
		{
			win.focus();
		}
	}

	function openFreeAccountWindow(Link)
	{
		var win = window.open(Link,'PaymentWindow','width=640,height=490,resizable=1');
		if(win)
		{
			win.focus();
		}
	}

	function openGrussboxWindow()
	{
		var win = window.open('http://www.cam-content.com/LSPS/_grussbox/default.aspx?Target=Grussbox&UserID=&Pseudo=&SystemID=girls-strip-chat.net&LSPS=True&LogoURL=http%3a%2f%2fwww.cam-content.de%2fLSPS-Logos%2fgrussbox.gif','PopupWindow','width=603,height=480,scrollbars=1,resizable=1');
		if(win)
		{
			win.focus();
		}
	}

	function openclickandbuyWindow()
	{
		var win = window.open('http://www.cam-content.com/LSPS/_PayPage/ChooseBuyCoinsAccount.aspx?SystemID=girls-strip-chat.net&BackLink=windowClose.htm&FormSubmit=True&PaymentService=clickandbuy&Referer=clickandbuy','PaymentWindow','width=800,height=600');
		if(win)
		{
			win.focus();
		}
	}



	// Define line object
	function Line(text, url, type, wait) {
		this.text=text;
		this.url=url;
		this.Display=type;
		this.wait=wait;
	}

	// Fill a string with n chars c
	function StringFill(c, n) {
		s="";
		while (--n >= 0) {
			s+=c;
		}
		return s;
	}

	function Static() {
		document.buttonFace.value=this.text;
		timerID=setTimeout("ShowNextLine()", this.wait);
	}

	function Grow() {
		lineText=this.text;
		lineWait=this.wait;
		charMax=lineText.length;
		TextGrow();
	}

	function TextGrow() {
		if (charNo <= charMax) {
			document.formDisplay.buttonFace.value=lineText.substring(0, charNo);
			charNo++;
			timerID=setTimeout("TextGrow()", growWait);
		}
		else {
			charNo=0;
			timerID=setTimeout("ShowNextLine()", lineWait);
		}
	}

	function Expand() {
		lineText=this.text;
		charMax=lineText.length;
		charMiddle=Math.round(charMax / 2);
		lineWait=this.wait;
		TextExpand();
	}

	function TextExpand() {
		if (charNo <= charMiddle) {
			document.formDisplay.buttonFace.value=lineText.substring(charMiddle - charNo, charMiddle + charNo);
			charNo++;
			timerID=setTimeout("TextExpand()", expandWait);
		}
		else {
			charNo=0;
			timerID=setTimeout("ShowNextLine()", lineWait);
		}
	}

	function Scroll() {
		spaces=StringFill(" ", scrollWidth);
		lineText=spaces+this.text;
		charMax=lineText.length;
		lineText+=spaces;
		lineWait=this.wait;
		TextScroll();
	}

	function TextScroll() {
		if (charNo <= charMax) {
			document.formDisplay.buttonFace.value=lineText.substring(charNo, scrollWidth+charNo);
			charNo++;
			timerID=setTimeout("TextScroll()", scrollWait);
		}
		else {
			charNo=0;
			timerID=setTimeout("ShowNextLine()", lineWait);
		}
	}

	function StartHeadliner() {

		// Delay in milliseconds for the growing headliner
		growWait=90;

		// Delay in milliseconds for the expanding headliner
		expandWait=120;

		// Delay in milliseconds for the scrolling headliner
		scrollWait=140;

		// Number of characters in scrolling zone for the scrolling headliner
		scrollWidth=120;

		// Some other variables (just don't change)
		lineText="";
		timerID=null;
		timerRunning=false;
		spaces="";
		charNo=0;
		charMax=0;
		charMiddle=0;
		lineNo=0;
		lineWait=0;

		StopHeadliner();
		timerID=setTimeout("ShowNextLine()", 1000);
		timerRunning=true;
	}

	function StopHeadliner() {
		if (timerRunning) {
			clearTimeout(timerID);
			timerRunning=false;
		}
	}

	function ShowNextLine() {
		(lineNo < lineMax) ? lineNo++ : lineNo=1;
		lines[lineNo].Display();
	}



// -->