View Single Post
Old 06-26-2007, 02:05 PM  
CaptainHowdy
Too lazy to set a custom title
 
Industry Role:
Join Date: Dec 2004
Location: Happy in the dark.
Posts: 94,358
Quote:
Originally Posted by m4yadult View Post
Exactly, they extract the nats ID and - if there is none - set it with their default ID.

function gotoTrackingURL()
{
if(gsNATS.length > 0)
document.location.href = gsTrackingURL + gsNATS;
else
document.location.href = gsTrackingURL + gsDefaultNATS;
}

This function compares the string length with 0. If it is >0, there is a nats ID which is kept. If it is = 0, that means the string is empty and they set the ID with their default.

: / ...
__________________
Vacares - Web Hosting, Domains, O365, Security & More - Paxum and BTC Accepted

Windows VPS now available
Great for TSS, Nifty Stats, remote work, virtual assistants, etc.
CaptainHowdy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote