﻿	Shadowbox.loadSkin('classic', 'src/skin');
	Shadowbox.loadLanguage('en', 'src/lang');
	Shadowbox.loadPlayer(['flv', 'html', 'iframe', 'img', 'qt', 'swf', 'wmp'], 'src/player');
/*lbox-gallery*/
$(function() {
	$('a.imagebox-webprojects').lightBox({fixedNavigation:true});
	$('a.imagebox-designprojects').lightBox({fixedNavigation:true});
	$('a.imagebox-photography').lightBox({fixedNavigation:true});
});
/*	
/*
img hover 
*/
$(document).ready(function(){						   
	/*hide mail*/
   $('.hide-email').each(function() {
      var $email = $(this);
      var address = $email.text().replace(/\s*\[at\]\s*/, '@')
                                 .replace(/\s*\[dot\]\s*/g, '.');
      $email.html('<a href="mailto:' + address + '">e-mail</a>');
   });				   
	/*wp*/
	$("img.wp-img-border").fadeTo("slow", 0.8);	
	$("img.wp-img-border").hover(function(){
	$(this).fadeTo("def", 1.1);
		$(this).css("border", "10px solid #d6e03d")
	},function(){
	$(this).fadeTo("def", 0.8);
		$(this).css("border", "10px solid #3c3f41")
	});
	
	/*dp*/
	$("img.dp-img-border").fadeTo("slow", 0.8);	
	$("img.dp-img-border").hover(function(){
	$(this).fadeTo("def", 1.1);
		$(this).css("border-bottom", "10px solid #d6e03d")
	},function(){
	$(this).fadeTo("def", 0.8);
		$(this).css("border-bottom", "10px solid #292e33")
	});
	/*photo*/
	/*dp*/
	$("img.photo-img").fadeTo("slow", 0.8);	
	$("img.photo-img").hover(function(){
	$(this).fadeTo("def", 1.1);
	},function(){
	$(this).fadeTo("def", 0.8);		
	});
	Shadowbox.init();
});

