function PageItems() {}


PageItems.contentVerticalSpacer = function() {
	var html = "<div class='contentVerticalSpacer'></div>";
	
	return html;
}

PageItems.moreInfoImage = function() {
	var html = "<img src='"+Site.rwp+"images/more_info-norm.png' width='31' height='21' border='0' title='Click for More'>";
	
	return html;
}

PageItems.moreInfoImageInvis = function() {
	var html = "<img src='"+Site.rwp+"images/spacer.png' width='31' height='21' border='0' title=''>";
	
	return html;
}

PageItems.iconPresentation = function() {
	var html = "<img src='"+Site.rwp+"images/icons/link-presentation.png' width='21' height='16' border='0' title='Presentation'>";
	
	return html;
}

PageItems.iconVideo = function() {
	var html = "<img src='"+Site.rwp+"images/icons/link-video.png' width='21' height='16' border='0' title='Video'>";
	
	return html;
}

PageItems.iconWeb = function() {
	var html = "<img src='"+Site.rwp+"images/icons/link-web.png' width='21' height='16' border='0' title='Website'>";
	
	return html;
}

PageItems.iconInvis = function() {
	var html = "<img src='"+Site.rwp+"images/spacer.png' width='21' height='16' border='0' title='Website'>";
	
	return html;
}

PageItems.getLinkTypeIcon = function(type) {
	var html = "";
	
	type = type.toLowerCase();
	
	switch (type) {
		case "presentation":
		case "pdf":
		case "ppt":
		case "pptx":
			html = PageItems.iconPresentation();
			break;
		case "video":
		case "movie":
		case "mov":
		case "avi":
			html = PageItems.iconVideo();
			break;
		case "web":
		case "website":
			html = PageItems.iconWeb();
			break;
		default:
			html = PageItems.iconInvis();
	}
	
	return html;
}

