/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

jQuery.noConflict();
jQuery(document).ready(init);

function init(){
    jQuery("#plankenauerlogo a").click(showPlankenauer);
    jQuery("#serviceslogo a").click(showServices);
}


function showPlankenauer(){
//    event.preventDefault(); 
    jQuery("#plankenauer").css('z-index',99);
    jQuery("#plankenauer").animate({
        width: '100%'
    },function(){
        jQuery("#intro").fadeOut('slow', function() {/*window.location = 'http://www.plankenauer.com'*/});
    });
    return false;
}
function showServices(){
//    event.preventDefault();
    jQuery("#sevices").css('z-index',99);
    jQuery("#services").animate({
        width: '100%',
        marginLeft: "0%"
    },function(){
        jQuery("#plankenauer").hide();
        jQuery("#services").fadeOut('slow', function() {window.location = 'http://www.plankenauer.com/plankenauerservices'});
    });
    return false;
}
