I want if else statement for static page.
For example if visitor click on static page link. The following javascript should be load
Code:
<head>
<script language="Javascript" src="http://gd.geobytes.com/Gd?after=-1"></script>
<script language="javascript">
if(typeof(sGeobytesLocationCode)!="undefined"&&sGeobytesLocationCode.indexOf('US')==0)
{
document.write("<META HTTP-EQUIV='Refresh' CONTENT='0; URL=http://www.SomeDomain.com'>");
}
</script>
</head>
In short what if/else condition I should put between <head> </head> so that above javascript function load if person open static page id=1 ?