var MM_contentVersion = 6; var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;	if ( plugin ) {	var words = navigator.plugins["Shockwave Flash"].description.split(" ");for (var i = 0; i < words.length; ++i)	{	if (isNaN(parseInt(words[i])))	continue; var MM_PluginVersion = words[i]; }var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;} else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0  && (navigator.appVersion.indexOf("Win") != -1)) {	document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n'); //FS hide this from IE4.5 Mac by splitting the tag
document.write('on error resume next \n'); document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');	document.write('</SCR' + 'IPT\> \n');}			
function _icoviaVoid() { return; }
function icoviaTracker(page) { var i=new Image(1,1); i.src=page;  i.onload=function() {_icoviaVoid();} }
function icx_tracking() { if (typeof cr_track != 'undefined') {cr_track(1);}}
function icx_windowopen() {	var launchURL = 'resources/icovia.aspx'; var sentPlanID = ""; var sentCartID = ""; var sentUserID = ""; sentPlanID = planID; sentCartID =getValue("cartid"); sentUserID = getValue("uguid"); launchURL = launchURL +'?';	if(planID.length > 20){	launchURL = launchURL +'planID='+ sentPlanID+'&';} if(sentCartID.length > 0){ launchURL = launchURL + 'cartid=' + sentCartID+'&';} if(sentUserID.length > 0) { launchURL = launchURL + 'uguid=' + sentUserID+'&';	} newWindow=window.open(launchURL ,'RP','height='+screen.height+',width='+screen.width+',top=0,left=0,status=no,toolbar=no,scrollbars=no,resizable=yes,menubar=no'); void(0); var popUpMsg = "You appear to have a pop-up blocker that prevents the Room Planner from opening. Please enable pop-ups for this site and try again. Thank you."; if(!newWindow){ alert(popUpMsg);} }
function getValue(varname){	var url = window.location.href;	var qparts = url.split("?"); if (qparts.length == 0)  {	return "";}	var query = qparts[1]; if (query!=null){var vars = query.split("&");} else {return "";}var value = "";for (i=0;i<vars.length;i++)  {var parts = vars[i].split("=");if (parts[0].toLowerCase() == varname)	{	value = parts[1]; break;}} value = unescape(value); value.replace(/\+/g," ");return value;} 
var srcSWF;
function signupRTV(registerUrl){if(jQuery.browser.safari){try{	srcSWF = new Array(2);srcSWF[0] =$('#rtv_landing').html();srcSWF[1] =$('#testimonials').html();	$('#rtv_landing').html('<img src="/rtv/images/re_landing_rtv.jpg" />');	$('#testimonials').html('<img src="/rtv/images/testimonial_realestate.gif" />')} catch(e)	{ alert(e);} } var height='680px'; host= "http://"; registerUrl= host + registerUrl; $('#icx_hidden_frame').css('margin', '0');	$('#icx_hidden_frame').css('padding', '0');	$('#icx_hidden_frame').css('height', '620px'); $('#icx_hidden_frame').html('<iframe id="rtvframe" src ="' + registerUrl + '" scrolling="no" frameborder="0"  margin="0" padding="0" height="' + height + '" width="100%" />'); openRTV(); }
function openRTV() {if (jQuery.browser.msie) { $('#icx_hidden_frame').dialog({ height: 700, width: 810 ,title: 'RTV Registration', buttons: { "Close": function() {closeFrame();}}});}else{$('#icx_hidden_frame').dialog({ height: 800, width: 810 ,title: 'RTV Registration', buttons: { "Close": function() { closeFrame();}}});}	$('#icx_hidden_frame').dialog('open');$('#icx_hidden_frame').dialog('moveToTop');$('#icx_hidden_frame').dialog({ zIndex: 3999 }); }
function closeFrame() {	$('#icx_hidden_frame').dialog('destroy'); }
	

