



function imageh(content,im)

{

   

    editorimageh=window.open("","imagehorizontal","width=640,height=505,left=0,top=0")

    

 	if(editorimageh != null)

	{

		editorimageh.focus()

		editorimageh.document.open('text/html')

		editorimageh.document.write("<html><head></head>")

		editorimageh.document.write("<body >")

		editorimageh.document.write("<center>")

		editorimageh.document.write('<img src='+im+'  border=0 >')

		editorimageh.document.write('<br>')

		editorimageh.document.write('<font face=arial size=2>')

		editorimageh.document.write(content)

		editorimageh.document.write('</font>')

		editorimageh.document.write('<form>')

		editorimageh.document.write('<input type="button" value=Close onClick="window.close()">')

		editorimageh.document.write('</form>')

		editorimageh.document.write("</center>")

		editorimageh.document.write("</body></html>")

		editorimageh.document.close()  

	}

}



function imagev(content,im)

{

   

    editorimagev=window.open("","imagevertical","width=440,height=710,left=0,top=0,scrollbars")

    

 	if(editorimagev != null)

	{

		editorimagev.focus()

		editorimagev.document.open('text/html')

		editorimagev.document.write("<html><head></head>")

		editorimagev.document.write("<body  marginwidth=0 marginheight=5 topmargin=5 leftmargin=0>")

		editorimagev.document.write("<center>")

		editorimagev.document.write('<img src='+im+'  border=0 >')

		editorimagev.document.write('<br>')

		editorimagev.document.write('<font face=arial size=2>')

		editorimagev.document.write(content)

		editorimagev.document.write('</font>')

		editorimagev.document.write('<form>')

		editorimagev.document.write('<input type="button" value=Close onClick="window.close()">')

		editorimagev.document.write('<br>')

		editorimagev.document.write('<br>')

		editorimagev.document.write('</form>')

		editorimagev.document.write("</center>")

		editorimagev.document.write("</body></html>")

		editorimagev.document.close()  

	}

}





function imagev1(content,im)

{

   

    editorimagev=window.open("","imagevertical1","width=440,height=690,left=0,top=0,scrollbars")

    

 	if(editorimagev != null)

	{

		editorimagev.focus()

		editorimagev.document.open('text/html')

		editorimagev.document.write("<html><head></head>")

		editorimagev.document.write("<body  marginwidth=0 marginheight=5 topmargin=5 leftmargin=0>")

		editorimagev.document.write("<center>")

		editorimagev.document.write('<img src='+im+'  border=0 >')

		editorimagev.document.write('<br>')

		editorimagev.document.write('<font face=arial size=2>')

		editorimagev.document.write(content)

		editorimagev.document.write('</font>')

		editorimagev.document.write('<form>')

		editorimagev.document.write('<input type="button" value=Close onClick="window.close()">')

		editorimagev.document.write('<br>')

		editorimagev.document.write('<br>')

		editorimagev.document.write('</form>')

		editorimagev.document.write("</center>")

		editorimagev.document.write("</body></html>")

		editorimagev.document.close()  

	}

}







function fullimage2(content,im,wd,ht)

{

   

    editor1=window.open("","Enlarged","width=" + wd + ",height=" + ht +",left=0,top=0,scrollbars")

    

 	if(editor1 != null)

	{

		editor1.focus()

		editor1.document.open('text/html')

		editor1.document.write("<html><head></head>")

		editor1.document.write("<body >")

		editor1.document.write("<center>")

		editor1.document.write('<img src='+im+'  border=0 >')

		editor1.document.write('<br>')

		editor1.document.write('<font face=arial size=2>')

		editor1.document.write(content)

		editor1.document.write('</font>')

		editor1.document.write('<form>')

		editor1.document.write('<input type="button" value=Close onClick="window.close()">')

		editor1.document.write('</form>')

		editor1.document.write("</center>")

		editor1.document.write("</body></html>")

		editor1.document.close()  

	}

}







function imageh800(content,im)

{



editorimageh800=window.open("","imagehorizontal800","width=850,height=750,left=0,top=0")



if(editorimageh800 != null)

{

editorimageh800.focus()

editorimageh800.document.open('text/html')

editorimageh800.document.write("<html><head></head>")

editorimageh800.document.write("<body >")

editorimageh800.document.write("<center>")

editorimageh800.document.write('<img src='+im+' border=0 >')

editorimageh800.document.write('<br>')

editorimageh800.document.write('<font face=arial size=2>')

editorimageh800.document.write(content)

editorimageh800.document.write('</font>')

editorimageh800.document.write('<form>')

editorimageh800.document.write('<input type="button" value=Close onClick="window.close()">')

editorimageh800.document.write('</form>')

editorimageh800.document.write("</center>")

editorimageh800.document.write("</body></html>")

editorimageh800.document.close() 

}

} 



function imagev800(content,im)

{



editorimagev800=window.open("","imagevorizontal800"," width=750,height=950,left=0,top=0")





// editorimagev800=window.open("","imagevorizontal800","scrollbars=1,width=750,height=900,left=0,top=0")



// editorimagev800=window.open("","imagevorizontal800","scrollbars=1,resizable=1,left=0,top=0")



if(editorimagev800 != null)

{

editorimagev800.focus()

editorimagev800.document.open('text/html')

editorimagev800.document.write("<html><head></head>")

editorimagev800.document.write("<body >")

editorimagev800.document.write("<center>")

editorimagev800.document.write('<img src='+im+' border=0 >')

editorimagev800.document.write('<br> ')

editorimagev800.document.write('<font face=arial size=2>')

editorimagev800.document.write(content)

editorimagev800.document.write('</font>')

editorimagev800.document.write('<form>')

editorimagev800.document.write('<input type="button" value=Close onClick="window.close()">')

editorimagev800.document.write('</form>')

editorimagev800.document.write('<br> ')

editorimagev800.document.write("</center>")

editorimagev800.document.write("</body></html>")

editorimagev800.document.close() 

}

}




function copyright()



{



            window.document.write('<font face="Tahoma" size="1" color="#FFFFFF">')

            window.document.write('Copyright &copy;  2003-2010, BAPS Swaminarayan Sanstha.  All Rights Reserved.')

				window.document.write('<br>Registered Charity No. 273425 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.mandir.org/contactus/privacypolicy.htm"><font color="#FFFFFF" face="Tahoma" size="1">Privacy Policy</font> </a>&nbsp;&nbsp;|&nbsp;&nbsp;')

	window.document.write('<a href="http://www.mandir.org/contactus/termsandconditions.htm"><font color="#FFFFFF" face="Tahoma" size="1">Terms &amp; Conditions</font></a>')

            window.document.write('</font>')

}



