<!-- HIDE FROM OTHER BROWSERS
//
//Break free from frames
        if (window !=top)
        top.location.href=window.location.href;

//Go back to previous page
function goback() {
    history.back();
}

//bookmark this page
var bookmarkurl="http://www.btobprinting.com"
var bookmarktitle="BtoBprinting.com - Discount Printing"
function addbookmark(){
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle)
}

//Open a new window
        function OW(url) {
                popupWin = window.open(url, 'OW', 'directories,toolbar,location,resizable,menubar,status,scrollbars,top=15,left=0,width=630,height=375');
        }

        function OW2(url) {
                popupWin = window.open(url, 'OW2', 'resizable=no,top=0,left=0,width=310,height=230');
        }

        function OW3(url) {
                popupWin = window.open(url, 'OW3', 'scrollbars,resizable,top=0,left=0,width=630,height=350');
        }

        function OW4(url) {
                popupWin = window.open(url, 'OW4', 'directories,toolbar,location,resizable,menubar,status,scrollbars,top=0,left=0,width=630,height=375');
        }

        function OW5(url) {
                popupWin = window.open(url, 'OW5', 'scrollbars,resizable=no,top=0,left=0,width=220,height=430');
        }

        function OW6(url) {
                popupWin = window.open(url, 'OW6', 'scrollbars,resizable=no,top=0,left=0,width=245,height=410');
        }

        function OW7(url) {
                popupWin = window.open(url, 'OW7', 'toolbar,menubar,resizable,scrollbars,top=1,left=0,width=630,height=375');
        }

        function OW8(url) {
                popupWin = window.open(url, 'OW8', 'scrollbars,resizable,top=0,left=0,width=630,height=250');
        }

        function OW9(url) {
                popupWin = window.open(url, 'OW9', 'scrollbars,resizable,top=0,left=0,width=630,height=350');
        }
        function OW10(url) {
                popupWin = window.open(url, 'OW10', 'scrollbars,resizable,top=0,left=0,width=750,height=50');
        }
        function OW11(url) {
                popupWin = window.open(url, 'OW11', 'toolbar,resizable,scrollbars,top=1,left=0,width=630,height=375');
        }

//dropdown form and open new window
function CP(form)
{
     var i = form.options[form.selectedIndex].value;
        if (form.selectedIndex > 0) {
                window.top.location.href = i;
        }
	form.selectedIndex=0;
}


  function goNowhere(form)
  {
    form.selectedIndex=0;
  }


//Change case - first letter capital of each word
function changeCase(frmObj) {
var index;
var tmpStr;
var tmpChar;
var preString;
var postString;
var strlen;
tmpStr = frmObj.value.toLowerCase();
strLen = tmpStr.length;
if (strLen > 0)  {
for (index = 0; index < strLen; index++)  {
if (index == 0)  {
tmpChar = tmpStr.substring(0,1).toUpperCase();
postString = tmpStr.substring(1,strLen);
tmpStr = tmpChar + postString;
}
else {
tmpChar = tmpStr.substring(index, index+1);
if (tmpChar == " " && index < (strLen-1))  {
tmpChar = tmpStr.substring(index+1, index+2).toUpperCase();
preString = tmpStr.substring(0, index+1);
postString = tmpStr.substring(index+2,strLen);
tmpStr = preString + tmpChar + postString;
         }
      }
   }
}
frmObj.value = tmpStr;
}


//Limit the length of fields
function limit(item,len) {
        if ( item.value.length > len + 5 ) {
                        alert( "You are exceeding the available space.  Highlight with your mouse and delete a few characters." );
                        event.returnValue = false;
        }
}


//Free JavaScript on http://www.ScriptBreaker.com
function dis(obj)
{
 for(i=0;i<obj.length;i++)
  if(obj.elements[i].type == "submit" || obj.elements[i].type == "reset")
  obj.elements[i].disabled = true;
}
//end disable button


// alternative form submission alert
var submitcount=0; 

function submitOnce (form) { 

if (submitcount == 0) 
{ 
submitcount++; 
return true; 
} 
else 
{ 
alert("This form has already been submitted. Thanks!"); 
return false; 
} 

} 
//end form submission alert


var axel = Math.random() + "";
var ord = axel * 1000000000000000000;

//generate random numbers
var ran
ran = Math.round(Math.random()*100000)

var ran
ran2 = Math.round(Math.random()*1000000)

var jar=new Date();var seconds=jar.getSeconds();
var minutes=jar.getMinutes();var flash=seconds*minutes;

// STOP HIDING HERE -->
