/**
 * Setting target="_blank" artibute for <a rel="blank">
 *
 * @author: ProgWeb (http://progweb.com.pl/)
 * @version: 1.0
 */
$(document).ready(function() {
	$("a").anchorTarget()
});

jQuery.fn.anchorTarget = function(settings) {
	return this.each(function(){
		var caller = this;
        if($(caller).attr("rel")=='blank') {
            $(caller).attr("target", '_blank');
        }
	})
}

