ecato_ref_url = encodeURIComponent(location.href); ecato_ref_title = escape(document.title); var ecato_get = ""; if (typeof ecato!="undefined" && typeof ecato["k_id"]!="undefined" && ecato["k_id"].match(/\//g)) { var k_id_string = ecato["k_id"] k_id_string = k_id_string.replace(/ +/g, ""); k_id_array = k_id_string.split("/"); k_id_count = k_id_array.length; key = Math.floor(Math.random()*k_id_count) ecato["k_id"] = k_id_array[key]; } function ecato_param (key, value) { if (typeof value == "string" || typeof value == "number" || typeof value == "boolean") ecato_get += "&"+key+"="+escape(value); } if (typeof ecato!="undefined") for (key in ecato) ecato_param(key, ecato[key]); if (typeof ecato_ref_url!="undefined") ecato_get += "&ref_url="+ecato_ref_url; if (typeof ecato_ref_title!="undefined") ecato_get += "&ref_title="+ecato_ref_title; if (typeof ecato_css_bg_color!="undefined") ecato_get += "&css_bg_color="+encodeURIComponent(ecato_css_bg_color); if (typeof ecato_css_text_color!="undefined") ecato_get += "&css_text_color="+encodeURIComponent(ecato_css_text_color); if (typeof ecato_css_link_color!="undefined") ecato_get += "&css_link_color="+encodeURIComponent(ecato_css_link_color); if (typeof ecato_css_art_border_color!="undefined") ecato_get += "&css_art_border_color="+encodeURIComponent(ecato_css_art_border_color); if (typeof ecato_css_art_bg_color!="undefined") ecato_get += "&css_art_bg_color="+encodeURIComponent(ecato_css_art_bg_color); if (typeof ecato_css_art_text_color!="undefined") ecato_get += "&css_art_text_color="+encodeURIComponent(ecato_css_art_text_color); if (typeof ecato_css_art_link_color!="undefined") ecato_get += "&css_art_link_color="+encodeURIComponent(ecato_css_art_link_color); if (typeof ecato_sub_id!="undefined") ecato_get += "&sub_id="+encodeURIComponent(ecato_sub_id); document.write(''); var ecato_get = ""; ecato_get += "&referrer="+encodeURIComponent(document.referrer.slice(0, 255)); if (typeof ecato!="undefined" && typeof ecato["k_id"]!="undefined") { ecato_get += "&page_id="+encodeURIComponent(ecato['k_id']); ecato_get += "&c_id="+encodeURIComponent(ecato['k_id']); } document.write('');