var goto = {}; goto["link0"] = "/go?to=http://chel.dipo.ru/company/firm_1415_Santexorbita"; goto["link1"] = "/go?to=http://chel.dipo.ru/company/firm_1415_Santexorbita"; goto["link2"] = "/go?to=http://sanopt74.mxayc.ru/contact"; goto["link3"] = "/go?to=http://chel.dipo.ru/company/firm_1415_Santexorbita/products"; goto["link4"] = "/go?to=http://sanopt74.mxayc.ru/product/p40385683_V338P-1093-Smesitel-"; goto["link5"] = "/go?to=http://sanopt74.mxayc.ru/document/info_deliv"; goto["link6"] = "/go?to=http://chel.dipo.ru/company/firm_1415_Santexorbita"; goto["link7"] = "/go?to=http://chel.dipo.ru/company/firm_1415_Santexorbita"; goto["link8"] = "/go?to=http://chel.dipo.ru/company/firm_1415_Santexorbita"; goto["link9"] = "/go?to=http://chel.dipo.ru/company/firm_1415_Santexorbita"; goto["link10"] = "/go?to=http://chel.dipo.ru/company/firm_1415_Santexorbita"; goto["link11"] = "/go?to=http://chel.dipo.ru/company/firm_1415_Santexorbita"; goto["link12"] = "/go?to=http://chel.dipo.ru/company/firm_1415_Santexorbita"; goto["link13"] = "/go?to=http://chel.dipo.ru/company/firm_1415_Santexorbita"; goto["link14"] = "/go?to=http://chel.dipo.ru/company/firm_52_H2O-Ekologiya"; goto["link15"] = "/go?to=http://chel.dipo.ru/company/firm_52_H2O-Ekologiya"; goto["link16"] = "/go?to=http://chel.dipo.ru/company/firm_52_H2O-Ekologiya"; goto["link17"] = "/go?to=http://chel.dipo.ru/company/firm_52_H2O-Ekologiya"; goto["link18"] = "/go?to=http://chel.dipo.ru/company/firm_52_H2O-Ekologiya"; goto["link19"] = "/go?to=http://chel.dipo.ru/company/firm_602_OOO-SantexModa"; goto["link20"] = "/go?to=http://chel.dipo.ru/company/firm_602_OOO-SantexModa"; goto["link21"] = "/go?to=http://chel.dipo.ru/company/firm_602_OOO-SantexModa"; goto["link22"] = "/go?to=http://chel.dipo.ru/company/firm_2802_OOO-VikMet"; goto["link23"] = "/go?to=http://chel.dipo.ru/company/firm_2802_OOO-VikMet"; goto["link24"] = "/go?to=http://vikmetal.mapt.ru/contact"; goto["link25"] = "/go?to=http://chel.dipo.ru/company/firm_2802_OOO-VikMet/products"; goto["link26"] = "http://chel.dipostroi.ru/go?to=http://chel.dipo.ru/product/p40385683_V338P-1093-Smesitel-"; goto["link27"] = "/go?to=http://vikmetal.mapt.ru/product/p40559465_Tal-ruchnaya-cepnaya"; goto["link28"] = "/go?to=http://vikmetal.mapt.ru/document/info_deliv"; goto["link29"] = "/go?to=http://chel.dipo.ru/company/firm_2802_OOO-VikMet"; goto["link30"] = "/go?to=http://chel.dipo.ru/company/firm_2802_OOO-VikMet"; goto["link31"] = "/go?to=http://chel.dipo.ru/company/firm_2802_OOO-VikMet"; goto["link32"] = "/go?to=http://chel.dipo.ru/company/firm_2802_OOO-VikMet"; goto["link33"] = "/go?to=http://chel.dipo.ru/company/firm_2802_OOO-VikMet"; goto["link34"] = "/go?to=http://chel.dipo.ru/company/firm_2802_OOO-VikMet"; goto["link35"] = "/go?to=http://chel.dipo.ru/company/firm_2802_OOO-VikMet"; goto["link36"] = "/go?to=http://chel.dipo.ru/company/firm_2802_OOO-VikMet"; goto["link37"] = "/go?to=http://chel.dipo.ru/company/firm_2757_OOO-EkoBlok"; goto["link38"] = "/go?to=http://chel.dipo.ru/company/firm_2757_OOO-EkoBlok"; goto["link39"] = "/go?to=http://ecoblock.mapt.ru/contact"; goto["link40"] = "/go?to=http://chel.dipo.ru/company/firm_2757_OOO-EkoBlok/products"; goto["link41"] = "http://chel.dipostroi.ru/go?to=http://chel.dipo.ru/product/p40559465_Tal-ruchnaya-cepnaya"; goto["link42"] = "http://chel.dipostroi.ru/go?to=http://chel.dipo.ru/product/p40385683_V338P-1093-Smesitel-"; goto["link43"] = "/go?to=http://ecoblock.mapt.ru/product/p40418932_Penoblok-M35-100-300"; goto["link44"] = "/go?to=http://ecoblock.mapt.ru/document/info_deliv"; goto["link45"] = "/go?to=http://chel.dipo.ru/company/firm_2757_OOO-EkoBlok"; goto["link46"] = "/go?to=http://chel.dipo.ru/company/firm_2757_OOO-EkoBlok"; goto["link47"] = "/go?to=http://chel.dipo.ru/company/firm_2757_OOO-EkoBlok"; goto["link48"] = "/go?to=http://chel.dipo.ru/company/firm_2757_OOO-EkoBlok"; goto["link49"] = "/go?to=http://chel.dipo.ru/company/firm_2757_OOO-EkoBlok"; goto["link50"] = "/go?to=http://chel.dipo.ru/company/firm_2757_OOO-EkoBlok"; goto["link51"] = "/go?to=http://chel.dipo.ru/company/firm_2550_OOO-Prorab"; goto["link52"] = "/go?to=http://chel.dipo.ru/company/firm_2550_OOO-Prorab"; goto["link53"] = "/go?to=http://chel.dipo.ru/company/firm_779_OOO-Torgovyj-Dom-ANTE-2002"; goto["link54"] = "/go?to=http://chel.dipo.ru/company/firm_779_OOO-Torgovyj-Dom-ANTE-2002"; goto["link55"] = "/go?to=http://chel.dipo.ru/company/firm_2550_OOO-Prorab"; goto["link56"] = "/go?to=http://chel.dipo.ru/company/firm_2550_OOO-Prorab"; goto["link57"] = "/go?to=http://chel.dipo.ru/company/firm_2550_OOO-Prorab"; goto["link58"] = "/go?to=http://chel.dipo.ru/company/firm_2550_OOO-Prorab"; /** Преобразовать все span в ссылки*/ $("span.jsGoto").each(function(){ var attr_array = ["id","rel","target","class","itempro","data-href","data-id","stype","alt"]; var attr_str = ''; var idspan = $(this).attr("data-span"); var key = 'link'+idspan; var id = $(this).attr("id"); var rel = $(this).attr("rel"); var target = $(this).attr("target"); var clas = $(this).attr("class"); var itemprop = $(this).attr("itemprop"); var href = goto[key]; var dataid = $(this).attr("data-id"); var style = $(this).attr("style"); var alt = $(this).attr("alt"); if (id!=undefined) { attr_str = attr_str+' id="'+id+'"';} if (rel!=undefined) { attr_str = attr_str+' rel="'+rel+'"';} if (target!=undefined) { attr_str = attr_str+' target="'+target+'"';} if (clas!=undefined) { attr_str = attr_str+' class="'+clas+'"';} if (itemprop!=undefined) { attr_str = attr_str+' itemprop="'+itemprop+'"';} if (dataid!=undefined) { attr_str = attr_str+' data-id="'+dataid+'"';} if (style!=undefined) { attr_str = attr_str+' style="'+style+'"';} if (alt!=undefined) { attr_str = attr_str+' alt="'+alt+'"';} if (href!=undefined) { attr_str = attr_str+' href="'+href+'"';} $(this).replaceWith(""+$(this).html()+""); });