// JavaScript Document
function show_deal(type, pid, template_id, deal_name)
{
	var path = document.location.pathname;
	var url = document.location.protocol + "//" + document.location.hostname + path;
	url += deal_name + "/?type=" + type + "&pid=" + pid + "&template_id=" + template_id;
	document.location = url;
	
}

