/**
 * 
 *
 */

 
 
/**
 * blinker method for background image
 * while background image is defined in
 * parent element of link
 *
 * e.g. <div style="background-image ... "><a href=""></a></div>
 */
function bgBlinkerMain(target, pic, backgroundColor) {
	pic = "url('/fileadmin/templates/_img/" + pic + "')";
	target.parentNode.style.backgroundImage = pic;
	target.parentNode.style.backgroundColor = backgroundColor;
}


/**
 * blinker method for image
 * image will be accessed by its id
 *
 */
function imgBlinkerByID( id, pic ) {
	document.getElementById(id).src="/fileadmin/templates/_img/"+pic;
}
