function hdr() {
f.style.visibility = "hidden"
d.filters.item(0).apply()
d.filters.item(0).transition = 23
f.style.visibility = "visible"
d.filters(0).play(3.000)
startXML();
}
// change the interval to any number:
function startXML(){getPage();window.setInterval("getPage()",6000)}
function getPage(){
// var strURL1 = 'inx/xml.asp?display=qis';
var strURL2 = 'inx/xml.asp?display=news&pg=privacy';
var strURL3 = 'inx/xml.asp?display=testimony';
// var objHTTP1 = new ActiveXObject("microsoft.XMLHTTP");
var objHTTP2 = new ActiveXObject("microsoft.XMLHTTP");
var objHTTP3 = new ActiveXObject("microsoft.XMLHTTP");
// objHTTP1.open('GET', strURL1, false);
objHTTP2.open('GET', strURL2, false);
objHTTP3.open('GET', strURL3, false);
// objHTTP1.send()
objHTTP2.send()
objHTTP3.send()
// var webtxt1 = objHTTP1.responseText;
var webtxt2 = objHTTP2.responseText;
var webtxt3 = objHTTP3.responseText;
// if (webtxt1 != "") {qis.innerHTML = webtxt1;}
if (webtxt2 != "") {news.innerHTML = webtxt2;}
if (webtxt3 != "") {testimony.innerHTML = webtxt3;}
}
function hdr() {
f.style.visibility = "hidden"
d.filters.item(0).apply()
d.filters.item(0).transition = 23
f.style.visibility = "visible"
d.filters(0).play(3.000)}
function shoHelp(fArg){
var tooltipOBJ = eval("document.all['tt" + fArg + "']");
var tooltipOffsetTop = tooltipOBJ.scrollHeight + 20;
var testTop = (document.body.scrollTop + event.clientY) - tooltipOffsetTop;
var testLeft = event.clientX - 90;
var tooltipAbsLft = (testLeft < 0) ? 10 : testLeft;
var tooltipAbsTop = (testTop < document.body.scrollTop) ? document.body.scrollTop + 10 : testTop;
tooltipOBJ.style.posLeft = tooltipAbsLft;
tooltipOBJ.style.posTop = tooltipAbsTop;
tooltipOBJ.style.visibility = "visible";}
function hideHelp(fArg){
var tooltipOBJ = eval("document.all['tt" + fArg + "']");
tooltipOBJ.style.visibility = "hidden";}
function showhideDiv(theItem)
{
if (typeof(theItem) != "undefined")
{
if (theItem.style.display == 'none')
theItem.style.display = 'block'
else
theItem.style.display = 'none';
}
}
function showDiv(theItem)
{
if (typeof(theItem) != "undefined")
{
theItem.style.display = 'block';
}
}
function hideDiv(theItem)
{
if (typeof(theItem) != "undefined")
{
theItem.style.display = 'none';
}
}
function IntraAsk(delItem)
{
var agree=confirm("Are you SURE you want to completely delete this "+delItem+"?");
if (agree)
return true;
else
return false;
}
function popupMod(page, width, height, resizable, scrollbars, status, toolbars){
window.open(page,"popup","width="+width+",height="+height+","+resizable+","+scrollbars+","+status+","+toolbars)
}
function popup(page){
window.open(page,"popup","width=625,height=350,resizable=yes,scrollbars=yes,status=no,toolbars=no")
}
function showPayOptions() {
var option, arReq
var form = document.shippingform
var option=form.PAY_TYPE.options[form.PAY_TYPE.selectedIndex].value
arReq = option.split(':')
if (arReq[1] == 'True') {
payccnum.style.display = 'block'
showCVV(arReq[0])
} else {
payccnum.style.display = 'none'
}
if (document.getElementById("ccdate")) {
if (arReq[2] == 'True') {
ccdate.style.display = 'block'
} else {
ccdate.style.display = 'none'
}
}
if (arReq[3] == 'True') {
payname.style.display = 'block'
} else {
payname.style.display = 'none'
}
}