$(document).ready(function(){	if($("#nav").length == 0){		$(".include").each(function(i){			var incParent = $(this).attr('id');			incParent = "#" + incParent;			var incStr = $(this).attr('id') + "_func";			var incFun = eval(incStr);			var url = incFun('/include_path');						if (url.match('#')){				url = url.replace(/#/g,'/');				url = url.replace(/\*/g,'.');			}						$.get(url, function(data){				if (data.indexOf('<option')===0 && navigator.appName === 'Microsoft Internet Explorer'){ // if data contains option tags and is IE					var so = new SelectObj();					var so_props = '<select name="'+so.selectname+'" id="'+so.selectid+'" class="'+so.selectclass+'"';					if(so.hasMultiple==="Yes"){						so_props += 'multiple="multiple" size="5"';					}					so_props += '>'+data+'</select>';					$(incParent)[0].outerHTML = so_props;				}				else{ 					$(incParent).html(data);				}			});		});	}});