  str1="<a href=http://mar-cshots.com/weddings/ onmouseover=document.imageflip1.src='http://mar-cshots.com/images/weddings_thumb_1.jpg' onmouseout=document.imageflip1.src='http://mar-cshots.com/images/weddings_thumb_DARK_1.jpg'><img name=imageflip1 src='http://mar-cshots.com/images/weddings_thumb_DARK_1.jpg' style=border:0px; alt= ></a>"
  st1a="<a href=http://mar-cshots.com/weddings/ onmouseover=document.imageflip1.src='http://mar-cshots.com/images/weddings_thumb_1.jpg' onmouseout=document.imageflip1.src='http://mar-cshots.com/images/weddings_thumb_1.jpg'><img name=imageflip1 src='http://mar-cshots.com/images/weddings_thumb_1.jpg' style=border:0px; alt= ></a>"
  str2="<a href=http://mar-cshots.com/weddings/gallery2.html onmouseover=document.imageflip2.src='http://mar-cshots.com/images/weddings_thumb_2.jpg' onmouseout=document.imageflip2.src='http://mar-cshots.com/images/weddings_thumb_DARK_2.jpg'><img name=imageflip2 src='http://mar-cshots.com/images/weddings_thumb_DARK_2.jpg' style=border:0px; alt= ></a>"
  st2a="<a href=http://mar-cshots.com/weddings/gallery2.html onmouseover=document.imageflip2.src='http://mar-cshots.com/images/weddings_thumb_2.jpg' onmouseout=document.imageflip2.src='http://mar-cshots.com/images/weddings_thumb_2.jpg'><img name=imageflip2 src='http://mar-cshots.com/images/weddings_thumb_2.jpg' style=border:0px; alt= ></a>"
  str3="<a href=http://mar-cshots.com/weddings/gallery3.html onmouseover=document.imageflip3.src='http://mar-cshots.com/images/weddings_thumb_3.jpg' onmouseout=document.imageflip3.src='http://mar-cshots.com/images/weddings_thumb_DARK_3.jpg'><img name=imageflip3 src='http://mar-cshots.com/images/weddings_thumb_DARK_3.jpg' style=border:0px; alt= ></a>"
  st3a="<a href=http://mar-cshots.com/weddings/gallery3.html onmouseover=document.imageflip3.src='http://mar-cshots.com/images/weddings_thumb_3.jpg' onmouseout=document.imageflip3.src='http://mar-cshots.com/images/weddings_thumb_3.jpg'><img name=imageflip3 src='http://mar-cshots.com/images/weddings_thumb_3.jpg' style=border:0px; alt= ></a>"
  str4="<a href=http://mar-cshots.com/weddings/gallery4.html onmouseover=document.imageflip4.src='http://mar-cshots.com/images/weddings_thumb_4.jpg' onmouseout=document.imageflip4.src='http://mar-cshots.com/images/weddings_thumb_DARK_4.jpg'><img name=imageflip4 src='http://mar-cshots.com/images/weddings_thumb_DARK_4.jpg' style=border:0px; alt= ></a>"
  st4a="<a href=http://mar-cshots.com/weddings/gallery4.html onmouseover=document.imageflip4.src='http://mar-cshots.com/images/weddings_thumb_4.jpg' onmouseout=document.imageflip4.src='http://mar-cshots.com/images/weddings_thumb_4.jpg'><img name=imageflip4 src='http://mar-cshots.com/images/weddings_thumb_4.jpg' style=border:0px; alt= ></a>"
  str5="<a href=http://mar-cshots.com/weddings/gallery5.html onmouseover=document.imageflip5.src='http://mar-cshots.com/images/weddings_thumb_5.jpg' onmouseout=document.imageflip5.src='http://mar-cshots.com/images/weddings_thumb_DARK_5.jpg'><img name=imageflip5 src='http://mar-cshots.com/images/weddings_thumb_DARK_5.jpg' style=border:0px; alt= ></a>"
  st5a="<a href=http://mar-cshots.com/weddings/gallery5.html onmouseover=document.imageflip5.src='http://mar-cshots.com/images/weddings_thumb_5.jpg' onmouseout=document.imageflip5.src='http://mar-cshots.com/images/weddings_thumb_5.jpg'><img name=imageflip5 src='http://mar-cshots.com/images/weddings_thumb_5.jpg' style=border:0px; alt= ></a>"
  str6="<a href=http://mar-cshots.com/weddings/gallery6.html onmouseover=document.imageflip6.src='http://mar-cshots.com/images/weddings_thumb_6.jpg' onmouseout=document.imageflip6.src='http://mar-cshots.com/images/weddings_thumb_DARK_6.jpg'><img name=imageflip6 src='http://mar-cshots.com/images/weddings_thumb_DARK_6.jpg' style=border:0px; alt= ></a>"
  st6a="<a href=http://mar-cshots.com/weddings/gallery6.html onmouseover=document.imageflip6.src='http://mar-cshots.com/images/weddings_thumb_6.jpg' onmouseout=document.imageflip6.src='http://mar-cshots.com/images/weddings_thumb_6.jpg'><img name=imageflip6 src='http://mar-cshots.com/images/weddings_thumb_6.jpg' style=border:0px; alt= ></a>"
  str7="<a href=http://mar-cshots.com/weddings/gallery7.html onmouseover=document.imageflip7.src='http://mar-cshots.com/images/weddings_thumb_7.jpg' onmouseout=document.imageflip7.src='http://mar-cshots.com/images/weddings_thumb_DARK_7.jpg'><img name=imageflip7 src='http://mar-cshots.com/images/weddings_thumb_DARK_7.jpg' style=border:0px; alt= ></a>"
  st7a="<a href=http://mar-cshots.com/weddings/gallery7.html onmouseover=document.imageflip7.src='http://mar-cshots.com/images/weddings_thumb_7.jpg' onmouseout=document.imageflip7.src='http://mar-cshots.com/images/weddings_thumb_7.jpg'><img name=imageflip7 src='http://mar-cshots.com/images/weddings_thumb_7.jpg' style=border:0px; alt= ></a>"
  str8="<a href=http://mar-cshots.com/weddings/gallery8.html onmouseover=document.imageflip8.src='http://mar-cshots.com/images/weddings_thumb_8.jpg' onmouseout=document.imageflip8.src='http://mar-cshots.com/images/weddings_thumb_DARK_8.jpg'><img name=imageflip8 src='http://mar-cshots.com/images/weddings_thumb_DARK_8.jpg' style=border:0px; alt= ></a>"
  st8a="<a href=http://mar-cshots.com/weddings/gallery8.html onmouseover=document.imageflip8.src='http://mar-cshots.com/images/weddings_thumb_8.jpg' onmouseout=document.imageflip8.src='http://mar-cshots.com/images/weddings_thumb_8.jpg'><img name=imageflip8 src='http://mar-cshots.com/images/weddings_thumb_8.jpg' style=border:0px; alt= ></a>"
  tag1="<p>"
  tag2="&nbsp;&nbsp;"
  tag3="</p>"

  a = location.href;

  switch(a)
  {
  //index (gallery 1)
  case "http://mar-cshots.com/weddings/":
  document.write (tag1+st1a+tag2+str2+tag3+tag1+str3+tag2+str4+tag3);
  break;
  
  //gallery 2
  case "http://mar-cshots.com/weddings/gallery2.html":
  document.write (tag1+str1+tag2+st2a+tag3+tag1+str3+tag2+str4+tag3);
  break;
  
  //gallery 3
  case "http://mar-cshots.com/weddings/gallery3.html":
  document.write (tag1+str1+tag2+str2+tag3+tag1+st3a+tag2+str4+tag3);
  break;
  
  //gallery 4
  case "http://mar-cshots.com/weddings/gallery4.html":
  document.write (tag1+str1+tag2+str2+tag3+tag1+str3+tag2+st4a+tag3);
  }

  

  
  
 




