HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ns3133907 6.8.0-86-generic #87-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 18:03:36 UTC 2025 x86_64
User: cssnetorguk (1024)
PHP: 8.2.28
Disabled: NONE
Upload Files
File: /home/mycamden.co.uk/public_html/top_tables/show_logo.js
<!--
// logo and adspace generator - baz 25/6/03

function draw(bannerfile)

	{

		// first get the domain we are on.
		var host = document.location.hostname;
		var chop1 = host.substring(host.indexOf(".")+1, host.length);
		var dom = chop1.substring(chop1.index, chop1.indexOf("."));
		var img = dom.substring(dom.indexOf("my")+2, dom.length);

		//alert(dom);
		// now draw the table
		document.writeln('<table height="74" cellpadding=0 cellspacing=0 align="center" bgcolor=\"#FFCF00\" width="777">');
		document.writeln('<tr>');
		document.writeln('<td>');
		document.writeln('&nbsp;&nbsp;<a href="http://'+host+'"><img border="0" src="http://www.myvillage.com/logos/'+img+'NN.gif" width="267" height="74"></a>');
		document.writeln('</td>');
		document.writeln('<td align="right" valign="middle">');
		document.writeln('<IFRAME src=\"http://www.myvillage.com/banners/'+bannerfile+'" width=468 height=60 scrolling=no allowtransparency=true frameborder=0 marginheight=0 marginwidth=0></IFRAME>&nbsp;&nbsp;&nbsp;');
		document.writeln('</td>');
		document.writeln('<tr>');
		document.writeln('</table>');

	}

//-->