function RemoveDot() {
    for (a in document.links) document.links[a].onfocus=document.links[a].blur;
}

if (document.all) {
    document.onmousedown=RemoveDot;
}


function launchpdf() {
        open('http://www.adobe.com/products/acrobat/readstep.html', 'acroread', 'resizable=yes, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, width=600, height=400') 
}




function show_picture(image_source, image_width, image_height, image_title, image_caption) {
        var doc_header = '<HTML><TITLE>MAX Business Solutions - &#09 '+image_title+' &#09 </TITLE><BODY bgcolor="#dcdcdc" text="black" LINK="#FFFFFF" ALINK="#99CCFF" VLINK="#99CCFF"><P ALIGN="CENTER">'
        var doc_footer = '<p ALIGN="CENTER"><FORM><CENTER><INPUT TYPE="button" VALUE="Close this window and return to the main MAX Business Solutions Website" onclick="javascript:self.close();"></CENTER></FORM></p></BODY></HTML>'
        var image_code1 = '<img align="center" border="0" hspace="0" vspace="0" '
        var image_code2 = 'width="'+image_width+'" '
        var image_code3 = 'height="'+image_height+'" '
        var image_code4 = 'alt="'+image_title+'" '
        var image_code5 = 'src="'+image_source+'">'
        var image_code6 = '<p style="font-size: 200%" align="center">'+image_title+'</p><p align="center">'+image_caption+'<br>&nbsp</p>'
        window_height = screen.height*.75
        window_width = screen.width*.75
        var top_left_x = (screen.width - window_width) /2
        windowprops = "height="+window_height+",width="+window_width+",location=no,scrollbars=yes,menubars=no,toolbars=no,resizable=yes"
        picture_window = window.open("", "picture_window", windowprops)
        picture_window.moveTo(top_left_x, 1)
        picture_window.resizeTo(window_width, window_height)
        picture_window.document.open()
        picture_window.document.write(doc_header)
        picture_window.document.write(image_code1)
        picture_window.document.write(image_code2)
        picture_window.document.write(image_code3)
        picture_window.document.write(image_code4)
        picture_window.document.write(image_code5)
        picture_window.document.write(image_code6)
        picture_window.document.write(doc_footer)
        picture_window.document.close()
        picture_window.focus()
}

function show_pdf(pdf_source) {
        window_height = screen.height*.95
        window_width = Math.min(800 + 50, screen.width-2)
        var top_left_x = (screen.width - window_width) /2
        windowprops = "height="+window_height+",width="+window_width+",location=no,scrollbars=yes,menubars=no,toolbars=no,resizable=yes"
        pdf_window = window.open(pdf_source, "pdf_window", windowprops)
        pdf_window.moveTo(top_left_x, 1)
        pdf_window.resizeTo(window_width, window_height)
}

function subscribeform() {

str_name = document.form_subscribe.subscriber_name.value
str_address = document.form_subscribe.subscriber_address.value


      if (str_name == "" || str_name == "Name") {
         alert("Insufficient data entered. \n\nYou asked us to add your name to our maillist but you didn't input your name.  Please enter your name.");
         document.form_subscribe.subscriber_name.focus();
         return false;
      } 

      if (str_address == "" || str_address == "E-mail address") {
         alert("Insufficient data entered. \n\nYou asked us to add your name to our maillist but you didn't input your e-mail address.  Please enter your e-mail address.");
         document.form_subscribe.subscriber_address.focus();
         return false;
      } 

          return true;
          
}


