﻿// ready for jQuery DOM manipulation
$(function(){

	// external links
    $('A[rel="external"]').click( function() {	
        window.open( $(this).attr('href') );
        return false;
    });
	
	// e-mail adress antispam function
	$('a.email').nospam({ replaceText: true });

	// references image swap
	$('.slideshow').cycle()
	
	// call me hints
	$("#formCallMe_name, #formCallMe_phone").defaultvalue(
        $("#formCallMe_name").val(),
        $("#formCallMe_phone").val()
    );
	
	// call me form replace submit button with link for browsers that don't allow styling of submit buttons
	//$("#formCallMe input.submit").addClass('hide');
	//$("#formCallMe a.submit").removeClass('hide');
	

});
