//   Beginning of JavaScript Text
function scroll(seed) {

        var A1 = "   Welcome To Regional Passport Office, Chandigarh   ";

        var A2 = "   Site designed & maintained by - National Informatics Centre       Contents Supplied by - Regional Passport Office, Chandigarh   ";

//      var A3 = "   Chandigarh       ";

        var A4 = "   -- Use IE 4.5/Netscape 4.5 or above.      ";

        var A5 = "   -- Resolutions 800x600  ";
        var msg=A1+A2+A4+A5;

        var out = " ";

        var c   = 1;

        if (seed > 100) {
                seed--;
                var cmd="scroll(" + seed + ")";
                timerTwo=window.setTimeout(cmd,100);
        }
        else if (seed <= 100 && seed > 0) {
                for (c=0 ; c < seed ; c++) {
                        out+=" ";
                }
                out+=msg;
                seed--;
                var cmd="scroll(" + seed + ")";
                    window.status=out;
                timerTwo=window.setTimeout(cmd,100);
        }
        else if (seed <= 0) {
                if (-seed < msg.length) {
                        out+=msg.substring(-seed,msg.length);
                        seed--;
                        var cmd="scroll(" + seed + ")";
                        window.status=out;
                        timerTwo=window.setTimeout(cmd,100);
                }
                else {
                        window.status=" ";
                        timerTwo=window.setTimeout("scroll(100)",75);
                }
        }
}


function header() {	
document.write('<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=595><TR>')
document.write('<TD>')
document.write('<A HREF="index.html"><IMG SRC="images/passhead.jpg" BORDER=0></A>')
document.write('</TD>')
document.write('</TR></TABLE>')
}

function footer() {
document.writeln('<br>')
document.writeln('<CENTER>')
document.writeln('|| ')
document.writeln('<a class="bottommenu" href="about.htm">About Us</a> || ')
document.writeln('<a class="bottommenu" href="http://passport.gov.in/cpv/Forms.htm">Forms</a> || ')
document.writeln('<a class="bottommenu" href="http://passport.gov.in/cpv/Affidavits.htm">Affidavits</a> || ')
document.writeln('<a class="bottommenu" href="http://passport.gov.in/cpv/Instructions.htm">Instructions</a> || ')
document.writeln('<a class="bottommenu" href="http://passport.gov.in/cpv/Tatkaal.htm">Tatkaal Scheme</a> || ')
document.writeln('<a class="bottommenu" href="http://passport.gov.in/cpv/Fees.htm">Fees</a> || ')
document.writeln('<a class="bottommenu" href="http://indianpassport.nic.in/cgi-bin/db2www/passqry.d2w/firstquery?city=chd">Status Enquiry</a> || ')
document.writeln('<a class="bottommenu" href="help.htm">Helpline</a> ||')
document.writeln('<a class="bottommenu" href="faq.htm">FAQ</a> ||')

document.writeln('<br><a href="index.html"><IMG SRC="images/home4.gif" ALT="Home" WIDTH=40 HEIGHT=40 VSPACE=8 BORDER=0></a>')
document.writeln('<br><font size="2" color="#780000" face="arial, verdana"><b>')
document.writeln('Regional Passport Office<br>')
document.writeln('<font size="1" color="#B0501C">SCO 28-32, Sector 34-A, Chandigarh - 160 022.</font>')
document.writeln('</b></font>')

document.writeln('<HR size="2" width="750">')
document.writeln('<FONT SIZE="1" face="verdana"><B>Site designed & maintained by:</B></FONT><FONT COLOR="#780000" size="1" Face="verdana, arial"><b> National Informatics Centre</b></FONT><br>')
document.writeln('<FONT SIZE=-2 face="arial">This site is best viewed in 800x600 resolutions. Use IE 4.5/Netscape 4.5 or above.</FONT>')
document.writeln('</CENTER>')
}


function menuFooter() {
document.writeln('<table cellpadding=0 cellspacing=0 border=0><tr><td><center>')
document.writeln('|| ')
document.writeln('<a class="bottommenu" href="about.htm"">About Us</a> || ')
document.writeln('<a class="bottommenu" href="forms.htm">Forms</a> || ')
document.writeln('<a class="bottommenu" href="affidavits.htm">Affidavits</a> || ')
document.writeln('<a class="bottommenu" href="instructions.htm">Instructions</a> || ')
document.writeln('<a class="bottommenu" href="tatkaal.htm">Tatkaal Scheme</a> || ')
document.writeln('<a class="bottommenu" href="fees.htm">Fees</a> || ')
document.writeln('<a class="bottommenu" href="status.htm">Status Enquiry</a> || ')
document.writeln('<a class="bottommenu" href="help.htm">Helpline</a> ||')
document.writeln('<a class="bottommenu" href="faq.htm">FAQ</a> ||')
document.writeln('<br><FONT SIZE=-2 face="arial">This site is best viewed in 800x600 resolutions. Use IE 4.5/Netscape 4.5 or above.</FONT>')
document.writeln('</center></td></tr></table>')
}


function vline() {
document.write('<BR><TABLE CELLPADDING=0 CELLSPACING=0 WIDTH=1 height="100%" BORDER=0 BGCOLOR="#8D5501">')
document.write('<TR>')
document.write('<TD><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR></TD>')
document.write('</TR>')
document.write('</TABLE>')
}
