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/networklinks.js
<!--
// Just the network links

function network_pop(loc,width,height)

	{
		//alert(loc);
		//alert(width);
		//alert(height);
		if(document.location.search.indexOf("domainID=") != -1)
		{
			//alert("domainID present");
			var que = document.location.search;
			var domainID = que.substring(que.indexOf("domainID=")+9, que.length);
		}

		else
		{
			//alert("no domainID");
			var subloc = document.location.hostname;
			test = subloc.substring(subloc.indexOf(".")+1, subloc.length);
			var domainID = test.substring(test.index, test.indexOf("."));
		}
	
		if (loc.indexOf("?") != -1)
		
			{
				//alert(domainID);
				temp = loc+"&domainID="+domainID;
				eval("window.open('"+temp+"','comp','width="+width+",height="+height+"')");
			}
		
		else
			{
				//alert(domainID);
				temp = loc+"?domainID="+domainID;
				eval("window.open('"+temp+"','comp','width="+width+",height="+height+"')");
			}
		
	
	}

function network_link(linkx,new_window)
	
	{
		if(document.location.search.indexOf("domainID=") != -1)
		{
			//alert("domainID present");
			var que = document.location.search;
			var domain = que.substring(que.indexOf("domainID=")+9, que.length);
		}

		else
		{
			//alert("no domainID");
			var subloc = document.location.hostname;
			test = subloc.substring(subloc.indexOf(".")+1, subloc.length);
			var domain = test.substring(test.index, test.indexOf("."));
		}


		if (linkx.indexOf("?") != -1)
		
			{
				temp = linkx+"&domain="+domain;
			}
		
		else
			{
			
				temp = linkx+"?domain="+domain;
			}

		if (new_window == "true")

			{
				window.open(temp, 'what');
			}
		else
			{
				top.location.href = temp;
			}
	}	
//-->