Excerpt from product page




The Complete Business Plan Secrets Revealed Business Plan Manual























//browser detection
function Is()
{
var agent = navigator.userAgent.toLowerCase();
this.major = parseInt(navigator.appVersion);
this.minor = parseFloat(navigator.appVersion);

this.ns = ((agent.indexOf('mozilla') != -1) &&
(agent.indexOf('spoofer') == -1) &&
(agent.indexOf('compatible') == -1) &&
(agent.indexOf('opera') == -1) &&
(agent.indexOf('webtv') == -1));

this.ns2 = (this.ns && (this.major == 2));
this.ns3 = (this.ns && (this.major == 3));
this.ns4 = (this.ns && (this.major == 4));
this.ns6 = (this.ns && (this.major >= 5));
this.ie = (agent.indexOf("msie") != -1);
this.ie3 = (this.ie && (this.major < 4));
this.ie4 = (this.ie && (this.major == 4));
if(this.ie4 && (agent.indexOf("msie 5.0") != -1))
{
this.ie4=false;
this.ie5=true;
}

this.ieX = (this.ie && !this.ie3 && !this.ie4);
}

var is = new Is();

//Write text on top of a layer
function WriteLayer(id,text)
{
var DOM = (document.getElementById) ? true:false;
var divID;

if (is.ns4) divID = document.layers[id];
else if (is.ie4) divID = document.all[id];
else if (DOM) divID = document.getElementById(id);

if (is.ns4)
{
divID.document.open();
divID.document.write(text);
divID.document.close();
}
else if (DOM ||is.ie4)
{
divID.innerHTML = text;
}
}

function SetLayerVisibility(id,visibility)
{
if (is.ieX||is.ns6)
{
this.obj = document.getElementById(id).style;
this.obj.visibility = visibility;
}
else if(is.ie4)
{
this.obj = document.all[id].style;
this.obj.visibility = visibility;
}
else if(is.ns4)
{
this.obj = document.layers[id];
return this.obj;
}
}

function SubmitData(code)
{
var flag;

flag = eval('isReady_' + code + '()');

if (!flag)
{
return false;
}
eval('document._' + code + '.target="_self";');
eval('document._' + code + '.submit();');
}

var Reqd;
var eMai;

function trim(s)
{
while (s.substring(0,1) == ' ')
{
s = s.substring(1,s.length);
}
while (s.substring(s.length-1,s.length) == ' ')
{
s = s.substring(0,s.length-1);
}
return s;
}

function CheckEmail(eMai)
{
eMai=trim(eMai);
var ok = "1234567890abcdefghijklmnopqrstuvwxyz[].\@-_ABCDEFGHIJKLMNOPQRSTUVWXYZ";
for(h=0; h < eMai.length ;h++)
{
if(ok.indexOf(eMai.charAt(h))
All Rights Reserved.













Trends

popularity
lower = better; 1 = best

Pingback / Trackback



In database since 2007-07-29 and last updated on 2019-09-13
 
Random Synapse Stuff