function PopNotify(message, showTime, bgColor, txtColor, delay){
	if(delay == ""){
		delay = 0;
	}else{
		delay = delay*1000;
	}
	showTime = showTime*1000;
	
	setTimeout(function() {		
		jQuery("#PopNotify")
			.html(message)
			.css({color:txtColor, width:"100%", bottom: "-30px", left: "0px", position:"fixed", "background-color": bgColor, padding:"20px 20px", "text-align":"center", opacity:0})
			.animate({bottom: "+=30px", opacity: 1}, {duration: 1000, easing: "easeOutElastic"})
			.animate({opacity: 1}, showTime)
			.animate({bottom: "-=200px", opacity: 0.4}, {duration: 1000, easing: "easeInOutBack", complete: popTag(showTime), queue: true});
			

	}, delay);
}


function popTag(showTime){
	jQuery("#PopTag")
	.html("<div id='PopTag'><img border=\"0\" src=\"http://www.productlockdown.com/plimages/poptag.gif\"></div>")
	.css({bottom: "-50px", left: "10px", position:"fixed", opacity:0})
	.animate({opacity: 0}, showTime+2000)
	.animate({bottom: "+=30px", opacity: 1}, {duration: 1000, easing: "easeOutElastic"});

}