// JavaScript Document

function delete_info_box(ID) {
	
	if(confirm("Are you sure you want to delete this info box?")) {
		
		document.location.href="/admin/index.php?info_box_delete="+ID;
		
	}

}

function suggest_url(v) {
	
	var s = v.replace(/ /g, "_");
	
	document.getElementById("url").value = "/"+s.toLowerCase()+"/";
	
}

function delete_page(ID) {
	
	if(confirm("Are you sure you want to delete this page?")) {
		
		document.location.href="/admin/index.php?content_delete="+ID;
		
	}
}

