<!-- Begin SIDEBAR

// CHANGE ANY OF THESE VARIABLES TO "no" OR "yes" TO TURN AN OPTION OFF OR ON

// ONLY USE lowercase FOR ALL OPTIONS

var paragraph_1 	= "no"		// SHOW THE 1ST PARAGRAPH
var paragraph_2 	= "no"		// SHOW THE 2ND PARAGRAPH
var scrolling_news  = "no"     // Show flash news file

var showRimage		= "yes"		// SHOW A RANDOM SIDEBAR IMAGE
var linkedR		= "index.html"	// RANDOM IMAGE PAGE LINK
var showimage		= "yes"		// SHOW A SMALL SIDEBAR IMAGE
var linked		= "index.html"	// SIDEBAR IMAGE LINK

var spacing		= "20"		// ITEM SPACING (FOR TOP SPACING SEE .css FILE)

var RANspacing		= "2"		// UNDER IMAGE SPACING
var showdate		= "yes"		// SHOW THE DATE ON THE PAGE




// LEFT SIDEBAR DIV
document.write('<div id="sidebardiv">');
document.write('<center>');


// SMALL RANDOM PICTURE AREA
   if (showRimage == "yes") {

var twox = "<a href=\""+linkedR+"\"><img src=\"picts/";
var thrx = " border=\"0\" width=\"158\" height=\"125\" class=\"bordersSB\">";
var forx = "";
var img = "";

forx += Math.floor(Math.random()*10);
//img = forx;
img="0"; //show shri ram picture all the time
if (img == "0") {
document.write(twox+ 'sidebar-1.jpg"' +thrx);
}
if (img == "1") {
document.write(twox+ 'sidebar-2.jpg"' +thrx);
}
if (img == "2") {
document.write(twox+ 'sidebar-3.jpg"' +thrx);
}
if (img == "3") {
document.write(twox+ 'sidebar-4.jpg"' +thrx);
}
if (img == "4") {
document.write(twox+ 'sidebar-5.jpg"' +thrx);
}
if (img == "5") {
document.write(twox+ 'sidebar-6.jpg"' +thrx);
}
if (img == "6") {
document.write(twox+ 'sidebar-7.jpg"' +thrx);
}
if (img == "7") {
document.write(twox+ 'sidebar-8.jpg"' +thrx);
}
if (img == "8") {
document.write(twox+ 'sidebar-9.jpg"' +thrx);
}
if (img == "9") {
document.write(twox+ 'sidebar-10.jpg"' +thrx);
}
document.write('</a><br>');
document.write('<img src="picts/spacer.gif" border="0" width="20" height="'+RANspacing+'" alt="image"><br>');
}
// END SMALL RANDOM PICTURE AREA

document.write('<img src="picts/spacer.gif" border="0" width="20" height="'+spacing+'" alt="image"><br>');


// START SIDEBAR AREA PARAGRAPH 1 EDIT THIS AREA

   if (paragraph_1 == "yes") {

document.write('<table cellpadding="3" cellspacing="0" border="0" class="sideboxwidth"><tr><td class="sidetitle">');


// START SIDE TEXT TITLE 1


//document.write('Sidebar Title<br>');
document.write('News & Events<br>');


document.write('</td></tr><tr><td class="sidetext">');


// START NOTE TEXT AREA 1 - EDIT THE NEXT LINE


//document.write('You can use this area to add information or <a href="contact.htm" class="sidelink">links</a> to other sites or for small images 150 pixels wide.<br>');
document.write('Please check the Events page for current and upcoming events at the Mandir.<br>');


document.write('<a href="news.htm"><img border="0" width="146" height="26" src="picts/more-off.gif" onmouseover="this.src=\'picts/more-on.gif\'" onmouseout="this.src=\'picts/more-off.gif\'" alt="Click for more information" class="printhide"></a><br>');


document.write('</td></tr></table>');


document.write('<img src="picts/spacer.gif" border="0" width="20" height="'+spacing+'" alt="image"><br>');

}
// END SIDEBAR AREA PARAGRAPH 1


// Scrolling News
 if (scrolling_news == "yes") {

document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="158" HEIGHT="95" id="scrollingnews">');
document.write('<PARAM NAME="movie" VALUE="scrollingnews.swf">');
document.write('<PARAM NAME="quality" VALUE="high">');
document.write('<PARAM NAME="wmode" VALUE="transparent">');
document.write('<PARAM NAME="bgcolor" VALUE="#4C9F08">');
document.write('<EMBED src="scrollingnews.swf" quality="high" wmode="transparent" bgcolor="#4C9F08"  WIDTH="158" HEIGHT="95" NAME="scrollingnews" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT><br>');
}
//










// START SIDEBAR AREA PARAGRAPH 2 EDIT THIS AREA

   if (paragraph_2 == "yes") {

document.write('<table cellpadding="3" cellspacing="0" border="0" class="sideboxwidth"><tr><td class="sidetitle">');


// START SIDE TEXT TITLE 2


//document.write('Sidebar Title<br>');
document.write('Pooja Services<br>');


document.write('</td></tr><tr><td class="sidetext">');


// START NOTE TEXT AREA 2 - EDIT THE NEXT LINE


document.write('Daily Mandir Schedule: Morning 9am to 12:30pm; Evening: 5:30pm to 9pm everyday.<br>');


document.write('<a href="services.htm"><img border="0" width="146" height="26" src="picts/more-off.gif" onmouseover="this.src=\'picts/more-on.gif\'" onmouseout="this.src=\'picts/more-off.gif\'" alt="Click for more information" class="printhide"></a><br>');


document.write('</td></tr></table>');
}
// END SIDEBAR AREA PARAGRAPH 2



// XML-UL CHANGER VARIABLES YOU CAN EDIT - ALSO EDIT THE image .xml file

// VARIABLE FOR THE XML IMAGE SET FILE

var xmlfilenameXMLUL	= "XML-Changer-UL/set1.xml"

var flashwidthXMLUL	= "180"		// WIDTH OF THE FLASH (IN PIXELS)
var flashheightXMLUL	= "120"		// HEIGHT OF THE FLASH (IN PIXELS)
var flashcolorXMLUL	= "FFFFFF"	// CHANGER BACKGROUND COLOR
var borderXMLUL		= "000000"	// IMAGE BORDER COLOR
var borderwidthXMLUL	= "1"		// CHANGER BORDER WIDTH
var showsflashXMLUL	= "yes"		// SHOW FLASH XML CHANGER
var flashmodeXMLUL	= "transparent"	// FLASH WMODE | window | opaque | transparent |



// LOCATE WITH A DIV OPTIONS

var divlocateXMLUL	= "no"		// yes OR no TO LOCATE THE CHANGER WITH A DIV
var divLRXMLUL		= "left"	// SIDE TO LOCATE ON left OR right
var divXlocXMLUL	= "50"		// PIXELS FROM EDGE
var divYlocXMLUL	= "160"		// PIXELS FROM TOP OF PAGE


// YOU DO NOT NEED TO EDIT BELOW THIS LINE


   if (showsflashXMLUL == "yes") {
   if (divlocateXMLUL == "yes") {
document.write('<div id="XMLFlash" style="position:absolute; visibility:visible; '+divLRXMLUL+': '+divXlocXMLUL+'px; top: '+divYlocXMLUL+'px; z-index:3;">');
}
document.write('<table cellpadding="0" cellspacing="0" border="0" style="background-color: #'+flashcolorXMLUL+'; border: #'+borderXMLUL+' '+borderwidthXMLUL+'px solid;"><tr><td>');
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+flashwidthXMLUL+'" height="'+flashheightXMLUL+'" id="XML-ChangerUL">');
document.write('<param name="movie" value="XML-Changer-UL/XML-ChangerUL.swf">');
document.write('<param name="quality" value="high">');
document.write('<param name="flashvars" value="xmlfilen='+xmlfilenameXMLUL+'">');
document.write('<param name="wmode" value="'+flashmodeXMLUL+'">');
document.write('<param name="bgcolor" value="#'+flashcolorXMLUL+'">');
document.write('<embed src="XML-Changer-UL/XML-ChangerUL.swf" flashvars="xmlfilen='+xmlfilenameXMLUL+'" quality="high" wmode="'+flashmodeXMLUL+'" bgcolor="#'+flashcolorXMLUL+'" width="'+flashwidthXMLUL+'" height="'+flashheightXMLUL+'" NAME="XML-ChangerUL" TYPE="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></object><br>');
document.write('</td></tr></table>');
   if (divlocateXMLUL == "yes") {
document.write('</div>');
}
}

// END XML FLASH CHANGER



document.write('<img src="picts/spacer.gif" border="0" width="20" height="'+spacing+'" alt="image"><br>');




// START DATE SCRIPT
   if (showdate == "yes") {

document.write('<center><div id="date-location" class="printhide">');
var d=new Date()
var weekday=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
var monthname=new Array("January","February","March","April","May","June","July","August","September","October","November","December")
document.write("<span class=\"date-font\"><nobr>" + weekday[d.getDay()] + " ")
document.write(monthname[d.getMonth()] + " ")
document.write(d.getDate() + ". ")
document.write(d.getFullYear())
document.write("</nobr></span><br>")
document.write('</div></center>');
document.write('<img src="picts/spacer.gif" border="0" width="20" height="'+spacing+'" alt="image"><br>');
}


// donation picture

document.write('<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="width: 134px">')
document.write('<input type="hidden" name="cmd" value="_s-xclick"/>') 
//document.write('<input type="hidden" name="hosted_button_id" value="HJBCW6J3UD3Y6">')
document.write('<input type="hidden" name="hosted_button_id" value="RTT236D622QHN"/>')
document.write('<input type="image" src="btndonate.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"/>')
document.write('<img alt="" border="0" src="pixel.gif" width="1" height="1"/>')
document.write('</form>')
document.write('<img src="picts/spacer.gif" border="0" width="20" height="'+spacing+'" alt="image"><br>');

//

// SMALL PICTURE AREA
   if (showimage == "yes") {
//document.write('<a href="index.html"><img src="picts/sidebar.jpg" border="0" width="150" class="bordersSB"></a><br>');
document.write('<a href="http://visitor.constantcontact.com/email.jsp?m=1102659412632"><img src="picts/joinmailinglist.jpg" border="0" width="150" class="bordersSB"></a><br>');
document.write('<img src="picts/spacer.gif" border="0" width="20" height="'+spacing+'" alt="image"><br>');
}
document.write('</center>');



//follow us links section
document.write('<center>');
document.write('<img src="picts/spacer.gif" border="0" width="20" height="'+spacing+'" alt="image"><br>');

document.write('<img border="0" src="picts/followus_hd.jpg" id="followus_image" style="cursor: pointer;"/>');
document.write('</center>');

//facebook, twitter & blogspot link
document.write('<center>');
document.write('<img src="picts/spacer.gif" border="0" width="20" height="'+spacing+'" alt="image"><br>');

document.write('<a href="http://www.facebook.com/pages/Shri-Ram-Mandir-Plano/162567967118738"><img border="0" src="picts/facebook_icon.jpg" id="fb_image"/> </a>');
document.write('<a href="http://twitter.com/srmandir"><img border="0" src="picts/twitter_icon.jpg" id="twtr_image"/> </a>');
document.write('<a href="http://srmplano.blogspot.com/"><img border="0" src="picts/blogger_icon.jpg" id="blgr_image"/> </a>');
document.write('</center>');

//site lock picture
document.write('<center>');
//document.write('<img src="picts/spacer.gif" border="0" width="20" height="'+spacing+'" alt="image"><br>');
document.write('<img src="picts/spacer.gif" border="0" width="20" height="'+spacing+'" alt="image"><br>');

document.write('<img border="0" src="//shield.sitelock.com/shield/www.srmplano.org" id="sl_shield_image" style="cursor: pointer;"/><script id="sl_shield" src="//shield.sitelock.com/sitelock.js" language="javascript"></script>');
document.write('</center>');


document.write('</div>');



// -- END -->
