function PopupWindow(url, name, options)
{
    window.open(url, name, options);
}


function LinkAlert(URL, target, type)
{
	MSG = new Array();
	MSG[0] = "You are now leaving the  web site. Neither Pine Bluff National Bank nor any of its subsidiaries or affiliates are responsible for the content of any external web site.";

	myTarget = "_blank";

	if (target != undefined)
        myTarget = target;

	if (type != "" && type != undefined)
        alert(MSG[type]);
	else if
        (confirm(MSG[0])) window.open(URL,myTarget);
}



function popup(URL,name,width,height)
{
	window.open(URL,name,'width='+width+',height='+height);
}

// Load jQuery
$(document).ready(function() {

	// image rollover 
	$("img[hvr]").each(function() {
		var hoverImg = $(this).attr("hvr");
		$("<img>").attr("src", hoverImg);
	});

	$("img[hvr]").hover(function() {
		var currentImg = $(this).attr('src');
		$(this).attr('src', $(this).attr('hvr'));
		$(this).attr('hvr', currentImg);
	}, function() {
		var currentImg = $(this).attr('src');
		$(this).attr('src', $(this).attr('hvr'));
		$(this).attr('hvr', currentImg);
	});

});