function funcWriteBreadcrumbNav(BreadCrumbList) {
var sOutputBreadcrumbNav = new String();
var sClass = null;
var sUrl = null;
var sText = null;
var nLevel = null;
var aryThisLink = null;
//var arySubNav = unescape("");
var arySubNav = unescape(BreadCrumbList);
//arySubNav = arySubNav.split("");
arySubNav = arySubNav.split(";");
sOutputBreadcrumbNav += "
"
var nLen = arySubNav.length;
var myText = "";
for(var i = 0; i < nLen; i++) {
//aryThisLink = arySubNav[i].split("");
aryThisLink = arySubNav[i].split(",");
sText = aryThisLink[0];
sUrl = aryThisLink[1];
sClass = (parseInt(aryThisLink[2])) ? "_on" : "";
pageLevel = aryThisLink[3];
sOutputBreadcrumbNav += "";
// items
if (i
" + myText + " » ";
} else {
myText = sText.toLowerCase();
myText = myText.replace("||", ";");
//--- last item
//sOutputBreadcrumbNav += "" + myText + "";
sOutputBreadcrumbNav += "" + myText + "";
}
sOutputBreadcrumbNav += "";
}
sOutputBreadcrumbNav += " ";
return sOutputBreadcrumbNav;
}
var alertmsg = "";
function emailCheck(emailStr) {
var emailStr = emailStr.toLowerCase();
var checkTLD=1;
var knownDomsPat=/^(com|net|org|edu|int|mil|gov|arpa|biz|aero|name|coop|info|pro|museum)$/;
var knownDomains=/^(yahoo.com|hotmail.com|aol.com|msn.com|gmail.com|verizon.net|comcast.net|mail.com|juno.com|hush.com|hushmail.com)$/;
var emailPat=/^(.+)@(.+)$/;
var specialChars="\\(\\)><@,;:\\\\\\\"\\.\\[\\]";
var validChars="\[^\\s" + specialChars + "\]";
var quotedUser="(\"[^\"]*\")";
var ipDomainPat=/^\[(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})\]$/;
var atom=validChars + '+';
var word="(" + atom + "|" + quotedUser + ")";
var userPat=new RegExp("^" + word + "(\\." + word + ")*$");
var domainPat=new RegExp("^" + atom + "(\\." + atom +")*$");
var matchArray=emailStr.match(emailPat);
if (matchArray==null) {
alert("Incorrect E-mail Address: check ampersands ('@') and periods ('.')");
return false;
}
var user=matchArray[1];
var domain=matchArray[2];
for (i=0; i127) {
alert("Incorrect E-mail Address: username contains invalid characters.");
return false;
}
}
for (i=0; i127) {
alert("Incorrect E-mail Address: contains invalid characters.");
return false;
}
}
if (user.match(userPat)==null) {
alert("Incorrect E-mail Address: User Name doesn't appear to be valid.");
return false;
}
var IPArray=domain.match(ipDomainPat);
if (IPArray!=null) {
for (var i=1;i<=4;i++) {
if (IPArray[i]>255) {
alert("Incorrect E-mail Address: destination IP address is invalid!");
return false;
}
}
return true;
}
var atomPat=new RegExp("^" + atom + "$");
var domArr=domain.split(".");
var len=domArr.length;
for (i=0;i0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i
function point_it(event){
pos_x = event.offsetX?(event.offsetX):event.pageX-document.getElementById("BackgroundLayer1").offsetLeft;
pos_y = event.offsetY?(event.offsetY):event.pageY-document.getElementById("BackgroundLayer1").offsetTop;
document.getElementById("cross").style.left = (pos_x-1) ;
document.getElementById("cross").style.top = (pos_y-15) ;
document.getElementById("cross").style.visibility = "visible" ;
document.pointform.form_x.value = pos_x;
document.pointform.form_y.value = pos_y;
}
/* a javascript function that takes a QT movie and calls its "Play" method */
function PlayIt(anObj)
{
anObj.Play();
}
/* a javascript function that takes a QT movie and calls its "Stop" method */
function StopIt(anObj)
{
anObj.Stop();
}