//
// ********************************************************************
// *** This script produces the top of all pages on this site       ***
// *** ------------------------------------------------------------ ***
// *** 02-24-09 CG Changed home page header content                 ***
// ********************************************************************
//
var thisURL  = unescape(window.location.pathname);
var currURL  = thisURL.substring(thisURL.lastIndexOf('\/') + 1);
var thisPage = currURL.substring(currURL.lastIndexOf('\\') + 1);

// ********************************************************************
// *** Home Page content is unique                                  ***
// ********************************************************************
// if (thisPage == "" || thisPage == "index.html")  ** When ready **

if (thisPage == "x")
    {
	document.write(''
	+ '<table width="100%" cellpadding="0" cellspacing="0" border="0">'
	+ '    <tr>'
	+ '        <td height="1" colspan="6" bgcolor="#000000"> <!--"#899ead"--></td>'
	+ '    </tr>'
	+ '    <tr>'
	+ '        <td height="100" align="center" valign="middle" colspan="6">'
	+ '            <table width="100%" border="0" cellpadding="0" cellspacing="0">'
	+ '                <tr>'
	+ '                    <td valign="middle" class="head" width="10%" align="left"><a href="/index.html"><img src="/images/ccg-cs-logo.gif" border="0" vspace="4" alt="CCG... Where Every Image is Picture Perfect!"></a></td>'
	+ '                    <td valign="middle" class="head" width="65%" align="left">'
	+ '                        &nbsp;&nbsp;&nbsp;&nbsp;'
	+ '                        <OBJECT CLASSID="CLSID:D27CDB6E-AE6D-11cf-96B8-444553540000"'
	+ '                                CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,22,0"'
	+ '                                ID="homeheader"'
	+ '                                Width="800"'
	+ '                                Height="90">'
	+ '                        <PARAM NAME="movie" VALUE="/images/homeheader.swf?317338960">'
	+ '                        <PARAM NAME="bgcolor" VALUE="#000000">'
	+ '                        <EMBED NAME="homeheader"'
	+ '                               SRC="/images/homeheader.swf?317338960"'
	+ '                               BGCOLOR="#000000"'
	+ '                               WIDTH="800"'
	+ '                               HEIGHT="90"'
	+ '                               TYPE="application/x-shockwave-flash"'
	+ '                               pluginspage="http://www.macromedia.com/go/getflashplayer">'
	+ '                        </EMBED>'
	+ '                        </OBJECT>'
	+ '                    </td>'
	+ '                    <td valign="middle" class="head" width="20%" align="center"><a href="' + prodURL + 'photocart/index.php?do=photocart&action=cart"><img src="/images/view-your-cart.jpg" border="0" alt="View your shopping cart..."></a><br><img src="/images/logo_ccVisa.gif" border="0" hspace="1" vspace="7" align="center"><img src="/images/logo_ccMC.gif" border="0" hspace="1" vspace="7" align="center"><img src="/images/logo_ccAmex.gif" border="0" hspace="1" vspace="7" align="center"><img src="/images/logo_ccDiscover.gif" border="0" hspace="1" vspace="7" align="center"><img src="/images/PayPal_mark_37x23.gif" border="0" hspace="1" vspace="7" align="center"></td>'
	+ '                </tr>'
	+ '            </table>'
	+ '        </td>'
	+ '    </tr>');
    }
else
    {
	document.write(''
	+ '<table width="100%" cellpadding="0" cellspacing="0" border="0">'
	+ '    <tr>'
	+ '        <td height="1" colspan="6" bgcolor="#000000"> <!--"#899ead"--></td>'
	+ '    </tr>'
	+ '    <tr>'
	+ '        <td height="100" align="center" valign="middle" colspan="6">'
	+ '            <table width="100%" border="0" cellpadding="0" cellspacing="0">'
	+ '                <tr>'
	+ '                    <td valign="middle" class="head" width="20%" align="left"><a href="/index.html"><img src="/images/ccg-cs-logo.gif" border="0" vspace="4" alt="CCG... Where Every Image is Picture Perfect!"></a></td>'
	+ '                    <td valign="middle" class="head" width="5%" align="left"><a href="'+prodURL+'photocart/index.php?do=photocart&viewGallery=1014"><img src="/images/index_image1.jpg" border="0" hspace="2" alt="The North Shore of Lake Superior..." ></a></td>'
	+ '                    <td valign="middle" class="head" width="5%" align="left"><a href="'+prodURL+'photocart/index.php?do=photocart&viewGallery=1014"><img src="/images/index_image2.jpg" border="0" hspace="2" alt="&quot;Cochise\'s Head&quot; in the Chiricahua Mountains..." ></a></td>'
	+ '                    <td valign="middle" class="head" width="5%" align="left"><a href="'+prodURL+'photocart/index.php?do=photocart&viewGallery=1010"><img src="/images/index_image3.jpg" border="0" hspace="2" alt="Moon Flower in Whitnall Park - Milwaukee" ></a></td>'
	+ '                    <td valign="middle" class="head" width="5%" align="left"><a href="/photography/wedding.html"><img src="/images/index_image4.jpg" border="0" hspace="2" alt="Weddings and Portraits..." ></a></td>'
	+ '                    <td valign="middle" class="head" width="10%" align="right">&nbsp;'
	+ '                    <td valign="middle" class="head" width="25%" align="center">'
	+ '				<font face="Verdana"><b>Social Networks:<b></font><br><br>'
	+ '				<a href="http://www.facebook.com/pages/CCG-Creative-Studios-LLC/62336386252" target="_blank"><img src="/images/logo_facebook.jpg" alt="CCG Creative Studios" title="CCG Creative Studios on Facebook" border="0" hspace="3"/></a>'
	+ '				<a href="http://www.linkedin.com/in/ccgcreativestudios" target="_blank"><img src="/images/logo_linkedin.jpg" alt="CCG Creative Studios" title="CCG Creative Studios on LinkedIn" border="0" hspace="3" /></a>'
	+ '				<a href="http://www.naymz.com/chris_and_cathy_gardner_2372029" target="_blank"><img src="/images/logo_naymz.jpg" alt="CCG Creative Studios" title="CCG Creative Studios on Naymz" border="0" hspace="3" /></a>'
	+ '				<a href="http://ccgcreativestudios.myplaxo.com" target="_blank"><img src="/images/logo_plaxo.jpg" alt="CCG Creative Studios" title="CCG Creative Studios on Plaxo" border="0" hspace="3" /></a>'
	+ '		       </td>'
	+ '                    <td valign="middle" class="head" width="25%" align="center">'
	+ '				<a href="' + prodURL + 'photocart/index.php?do=photocart&action=cart"><img src="/images/view-your-cart.jpg" border="0" alt="View your shopping cart..."></a><br>'
	+ '				<img src="/images/logo_ccVisa.gif" alt="We accept Visa, Mastercard, American Express, Discover, and PayPal" border="0" hspace="0" vspace="5" align="center">'
	+ '				<img src="/images/logo_ccMC.gif" alt="We accept Visa, Mastercard, American Express, Discover, and PayPal" border="0" hspace="0" vspace="5" align="center">'
	+ '				<img src="/images/logo_ccAmex.gif" alt="We accept Visa, Mastercard, American Express, Discover, and PayPal" border="0" hspace="0" vspace="5" align="center">'
	+ '				<img src="/images/logo_ccDiscover.gif" alt="We accept Visa, Mastercard, American Express, Discover, and PayPal" border="0" hspace="0" vspace="5" align="center">'
	+ '				<img src="/images/PayPal_mark_37x23.gif" alt="We accept Visa, Mastercard, American Express, Discover, and PayPal" border="0" hspace="0" vspace="5" align="center">'
	+ '		       </td>'
	+ '                </tr>'
	+ '            </table>'
	+ '        </td>'
	+ '    </tr>');
    }

document.write(''
+ '    <tr>'
+ '        <td height="1" colspan="6" bgcolor="#899ead"></td>'
+ '    </tr>'
+ '    <tr>'
+ '        <td height="24" valign="middle" colspan="6" class="navlink">'
+ '            <table width="100%" border="0" cellpadding="0" cellspacing="0">'
+ '                <tr>'
+ '                    <td width="55%" align="right">&nbsp;</td>'
+ '                    <td width="42%" align="right">'
+ '			   <a class="navlink" href="' + rootURL + 'about/book-us.html" alt="Book Us"><img src="/images/book-us.jpg" border="0" width="145" height="22"></a><img src="/images/spacer.gif" border="0" width="15" height="0">'
+ '                        <a class="navlink" href="' + rootURL + 'about/contact.html" alt="Contact Us"><img src="/images/contact-us.jpg" border="0" width="75" height="22"></a><img src="/images/spacer.gif" border="0" width="5" height="0">'
+ '                    </td>'
+ '                    <td width="3%" align="right">&nbsp;</td>'
+ '                </tr>'
+ '            </table>'
+ '        </td>'
+ '    </tr>'
+ '    <tr>'
+ '        <td height="1" colspan="6" bgcolor="#899ead"></td>'
+ '    </tr>'
+ '</table>'
+ '<!--end of top of page-->');
