$(document).ready(function(){slideShow();});function slideShow(){$('#gallery a').css({opacity:0.0});$('#gallery a:first').css({opacity:1.0});$('#gallery .caption').css({opacity:0.8});$('#gallery .caption').css({width:$('#gallery a').find('img').css('width')});$('#gallery .content').html($('#gallery a:first').find('img').attr('title')).animate({opacity:0.7},400);setInterval('gallery()',8000);}
function gallery(){var current=($('#gallery a.show')?$('#gallery a.show'):$('#gallery a:first'));var next=((current.next().length)?((current.next().hasClass('caption'))?$('#gallery a:first'):current.next()):$('#gallery a:first'));var caption=next.find('img').attr('title');next.css({opacity:0.0}).addClass('show').animate({opacity:1.0},1000);current.animate({opacity:0.0},1000).removeClass('show');$('#gallery .caption').animate({opacity:0.0},{queue:false,duration:0}).animate({height:'1px'},{queue:true,duration:300});$('#gallery .caption').animate({opacity:0.7},100).animate({height:'100px'},500);$('#gallery .content').html(caption);}
document.writeln('<style type="text/css"> .clear { clear:both } #gallery { position:relative; height:300px; width:300px; font-family:arial; margin-bottom:20px; } #gallery a { float:left; position:absolute; left:0px; top:0px; } #gallery a img { border:1px solid #CCC; border-radius: 15px; -moz-border-radius: 15px; width:300px; height:300px; } #gallery a.show { z-index:500 } #gallery .caption { z-index:600; background-color:#000; color:#ffffff; height:80px; width:100%; position:absolute; bottom:0; -webkit-border-bottom-right-radius: 15px; -webkit-border-bottom-left-radius: 15px; -moz-border-radius-bottomright: 15px; -moz-border-radius-bottomleft: 15px; border-bottom-right-radius: 15px; border-bottom-left-radius: 15px; } #gallery .caption .content { margin:5px } #gallery .caption .content h3 { margin:0; padding:0; color:#1DCCEF; font-size:16px; }</style>');document.writeln('<div id="gallery">');document.writeln('<a href="#" class="show"> <img src="http://www.kalamundawebdesign.com.au/tried.jpg" alt="Tried to set up your WebSite but failed?" width="300" height="300" title="&lt;h3&gt;Tried to set up your website but failed?&lt;/h3&gt;Set up right and fast first time! "/> </a>');document.writeln('<a href="#"> <img src="http://www.kalamundawebdesign.com.au/first-aid.jpg" alt="Is your WebSite in need of First Aid?" width="300" height="300" title="&lt;h3&gt;Is your website in need of first aid?&lt;/h3&gt;Complete makeovers with latest techniques and standards."/> </a>');document.writeln('<a href="#"> <img src="http://www.kalamundawebdesign.com.au/domain-name.jpg" alt="Got a Domain Name but no WebSite?" width="300" height="300" title="&lt;h3&gt;Got a domain name but no website?&lt;/h3&gt;Ran out of time/motivation doing it yourself?  Get up and running within two weeks."/> </a>');document.writeln('<a href="#"> <img src="http://www.kalamundawebdesign.com.au/false-economy.jpg" alt="Spending too many $$&#39;s?" width="300" height="300" title="&lt;h3&gt;Spending too many $$&#39;s?&lt;/h3&gt;Don&#39;t spend $1000 yearly.  Custom made website for $595 then $199 a year."/> </a>');document.writeln('<div class="caption"><div class="content"></div></div> </div> <div class="clear">Visit <a title="Kalamunda Web Design" target="_blank" href="http://www.kalamundawebdesign.com.au">Kalamunda Web Design</a></div>');
