function gen_target_check_url (p1)
{
  var is_q=p1.indexOf('?');
  if (is_q== -1) return p1 + '?';
  else return p1 + '&';
}
	
function call_ikb_popup(p1, dest, p2, p3, p4, p5, p6, p7, p8, p9)
{
  // Last updated : 22.02.2012 23:59:15
if (! window.focus) return true;
var href;
if (typeof p1 == "undefined") url=""; else url=p1;
if (typeof p1 == "undefined") p1=""; else p1=encodeURIComponent(p1);
if (typeof p2 == "undefined") p2=""; else p2=encodeURIComponent(p2);
if (typeof p3 == "undefined") p3=""; else p3=encodeURIComponent(p3);
if (typeof p4 == "undefined") p4=""; else p4=encodeURIComponent(p4);
if (typeof p5 == "undefined") p5=""; else p5=encodeURIComponent(p5);
if (typeof p6 == "undefined") p6=""; else p6=encodeURIComponent(p6);
if (typeof p7 == "undefined") p7=""; else p7=encodeURIComponent(p7);
if (typeof p8 == "undefined") p8=""; else p8=encodeURIComponent(p8);
if (typeof p9 == "undefined") p9=""; else p9=encodeURIComponent(p9);

var ppath = '/portal/page/portal/';
var ipath = '/ikbViewer/page';
if (dest == "4376")
{ window.open(ppath + 'CB971260AECC4692BEFDCA42C7D526BF','_form','width=1000,left=' + (screen.width-1000)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "4385")
{ window.open(ppath + 'B3D7A663830C49E4AC740D59D1AB5103?p_document_id='+ p1,'_thread','scrollbars=no').focus();}
else if (dest == "4382")
{ window.open(ppath + '146AE4FCCF8846B99918334EC49AD76E?p_document_id='+ p1+ '&p_dimension_id='+ p2,'_processdoc','scrollbars=no').focus();}
else if (dest == "4381")
{ window.open(ppath + '025A00B8765F4BD8BBFBB5879C465824?p_document_id='+ p1,'_parent','scrollbars=no').focus();}
else if (dest == "4383")
window.location = 'about:blank?p_document_id='+ p1+ '&p_d_i=-4862&p_d_c=&p_d_v='+ p1;
else if (dest == "4388")
window.location = ppath + '2CF650947C794B9D89CEAABAC83F4978?p_document_id='+ p1;
else if (dest == "4397")
{ window.open(ppath + 'A6904FD88B7745B69581C47147D93723?p_document_id='+ p1,'_new','height=400,top=' + (screen.height-400)/2 + ',width=1045,left=' + (screen.width-1045)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "4884")
window.location = ppath + 'B817C45D452F4414A62CDEFA2FBD1EEE?p_dimensionattribute_id='+ p1;
else if (dest == "8350")
{ window.open(ppath + 'EAF50D043A9B48CEBF3CDAB77FB63362?p_document_id='+ p1,'_blank','height=600,top=' + (screen.height-600)/2 + ',width=600,left=' + (screen.width-600)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "8359")
window.location = ppath + '8B821002580747F2804DF5393131AC24?p_dimension_id='+ p1;
else if (dest == "8360")
window.location = ppath + '66184E4A6A89472786CDA0F22347EC80?p_document_id='+ p1;
else if (dest == "8522")
window.location =  gen_target_check_url(url) + 'p_operation=New';
else if (dest == "7567")
{ window.open(ppath + 'D3D2FEE80F624E37A08B6D8EFF2C2424?p_document_id='+ p1,'_new','height=400,top=' + (screen.height-400)/2 + ',width=1030,left=' + (screen.width-1030)/2 + ',scrollbars=no,resizable=yes').focus();}
else if (dest == "7320")
{ window.open(ppath + '10A66025E4B84106A1F92146F3D8DFDC','_imageselector','height=550,top=' + (screen.height-550)/2 + ',width=900,left=' + (screen.width-900)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "7583")
{ window.open(ppath + '588F05768DB04E7ABBDAFCCD47C4E84B?p_document_id='+ p1,'_parent','scrollbars=no').focus();}
else if (dest == "7584")
{ window.open(ppath + '69BAA33EA0694ABEBDFD1305AFA05EC8?p_document_id='+ p1+ '&p_d_i=-125&p_d_c=&p_d_v='+ p1+ '&p_d_i=-127&p_d_c=&p_d_v='+ p1,'_parent','scrollbars=no').focus();}
else if (dest == "7670")
window.location = ppath + 'F0BA2C377EEA455181C92A2209F97FD0?p_dimension_id='+ p1;
else if (dest == "7814" || dest=="DEV_DESKTOP")
{ window.open(ppath + '084A5E04B0F948EF9BC57DB6A0862551?p_mainmenuid='+ p1+ '&p_action='+ p2,'_new','height=800,top=' + (screen.height-800)/2 + ',width=1050,left=' + (screen.width-1050)/2 + ',scrollbars=yes,resizable=yes,menubar=1,toolbar=yes').focus();}
else if (dest == "7826")
{ window.open(ppath + '18DB5EEAD52C40CC94F973C08EFB4625?p_document_id='+ p1,'float_iframe_docaction','scrollbars=no').focus();}
else if (dest == "7813")
window.location = ppath + '9529C281CE9F4D59A343836790F3853C';
else if (dest == "7858")
window.location = ppath + '46F729C591FB48EAAA06FCBB8203F31C?p_document_id='+ p1;
else if (dest == "7860")
window.location = ppath + 'iKB_DESKTOPS/xNet/HomePage/SHOW_CONTENT?p_document_id='+ p1;
else if (dest == "7873")
{ window.open(ppath + 'BE47913F54B242579712027E6C309917?p_document_id='+ p1,'_printout','height=500,top=' + (screen.height-500)/2 + ',width=550,left=' + (screen.width-550)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "7894")
window.location = ppath + 'AD1C677FCD7E42019761FE9D408521CD?p_dimension_id='+ p1;
else if (dest == "7938")
window.location = ppath + 'A8FED6CA04D248A280602520CCFE24B6?p_dimension_id='+ p1;
else if (dest == "7955")
window.location = ppath + '340C7EDB2107461A91CA4ECC956899DC?p_dimension_id='+ p1;
else if (dest == "7958")
window.location = ppath + 'A49839CF466948A4B3C5330ABAD4E4FE?p_dimension_id='+ p1;
else if (dest == "7963")
window.location = ppath + '9D852088165640F7A450DF56212AC228?p_dimension_id='+ p1;
else if (dest == "7968")
window.location = ppath + '858248FFBF6F49DB86430911A2D5DDCE?p_dimension_id='+ p1;
else if (dest == "7981")
window.location = ppath + 'CAEEBFD66A614F1DA424776A9581E41F?p_d_i=-122&p_d_c=&p_d_v='+ p1+ '&p_search_id='+ p2 + '&p_operation=New';
else if (dest == "8067")
window.location = ppath + 'FC56781CC118465D81A688075D4C2A7F?p_dimension_id='+ p1;
else if (dest == "8022")
window.location = ppath + '9ED63276B10D4AC681E3218372239693?p_document_id='+ p1;
else if (dest == "8100")
window.location = ppath + '8FCA1E938E51452AB03E06CF86751EEA?p_dimension_id='+ p1;
else if (dest == "8090")
{ window.open(ppath + '572FF7D57B27477DABF51A9C688FB175?p_document_id='+ p1,'_parent','scrollbars=no').focus();}
else if (dest == "8130")
window.location = ppath + '086F6EBEEAF74C9A81DF0BF7D8A43C46?p_dimension_id='+ p1+ '&p_d_i=-8272&p_d_c=&p_d_v='+ p1;
else if (dest == "8202")
window.location = ppath + '163A9226F0AB49FBA8B118B7F0079636?p_document_id='+ p1+ '&p_d_i=-8233&p_d_c=&p_d_v='+ p1;
else if (dest == "8225")
{ window.open(ppath + '56D65DA9AA1549D09A5E8840176BC605?p_document_id='+ p1,'_discussion','scrollbars=no').focus();}
else if (dest == "8252")
window.location = ppath + 'F8FB0F816AA940A6A5DBAF768991DEE5?p_document_id='+ p1+ '&p_d_i=-8238&p_d_c=&p_d_v='+ p1;
else if (dest == "8304")
window.location = ppath + '2258CA0584B648AB916636FD3D772748?p_document_id='+ p1;
else if (dest == "8305")
window.location = ppath + '00A712842D03443DA58ADACDA7F99107?p_document_id='+ p1;
else if (dest == "8337")
window.location = ppath + '7510F6AB635046CB9F28B8FD2C8FA285';
else if (dest == "9296")
window.location = ppath + 'DFB561ECC19C48E588A2682AAFCF842A';
else if (dest == "9297")
window.location = ppath + '1E3547B75AA54D1AB3B5F4157E1AFB09?p_document_id='+ p1;
else if (dest == "9312")
window.location = ppath + 'B32170D6468F49508B8D38073AF54DBB';
else if (dest == "9384")
window.location = ppath + '1C8EEB009BB6467282E9F0E6C63F48BD?p_search_id='+ p2;
else if (dest == "9421")
window.location = ppath + 'EC8DFC3599624D58993995BA10A6CD0C';
else if (dest == "9843")
window.location = ppath + '1F706416F2383D87E040A10A3D401074?p_document_id='+ p1;
else if (dest == "9851")
window.location = ppath + '20267F2B756CAFAEE040A10A3D40724C?p_document_id='+ p1;
else if (dest == "9859")
{ window.open(ppath + '1F9C78AEAC40C85CE040A10A3D404109','_form','scrollbars=yes,resizable=yes').focus();}
else if (dest == "9866")
window.location = ppath + '1FAC72E25FF68C05E040A10A3D402F5D?p_document_id='+ p1;
else if (dest == "9877")
{ window.open(ppath + '1FAF9E57B8FC4AF9E040A10A3D4011C8?p_document_id='+ p1,'_self','scrollbars=no').focus();}
else if (dest == "9873")
  window.open(url,"_parent","scrollbars=no");
else if (dest == "9896")
window.location = ppath + '1FEE235B5C9D1B4DE040A10A3D40156C?p_d_i=-4859&p_d_c=&p_d_v='+ p1+ '&p_search_id='+ p2 + '&p_operation=New';
else if (dest == "9921")
window.location = ppath + '2014567DCB5E94E5E040A10A3D404A41';
else if (dest == "9925")
window.location = ppath + '201F5F4E35C3EB42E040A10A3D406EE5?p_document_id='+ p1;
else if (dest == "9951")
{ window.open(ppath + '2075FC9B7F41CCC3E040A10A3D4037D8?p_document_id='+ p1,'_thread','scrollbars=no').focus();}
else if (dest == "31050")
window.location = ppath + '2238FD249DCF52AEE040A10A3D407BBD?p_document_id='+ p1+ '&p_section_dim_id='+ p2;
else if (dest == "31051")
window.location = ppath + '22FD259C1ECD085FE040A10A3D40418E?p_document_id='+ p1;
else if (dest == "31054")
window.location = ppath + '1E7F00BDFD44F0D2E040A10A1914649A?p_dimension_id='+ p1;
else if (dest == "31075")
window.location = ppath + '225E2582BB0996D3E040A10A3D400545?p_document_id='+ p1;
else if (dest == "31076")
window.location = ppath + '223354F1CC8167A9E040A10A3D405B46?p_document_id='+ p1;
else if (dest == "31077")
window.location = ppath + '223354F1CC7A67A9E040A10A3D405B46?p_document_id='+ p1+ '&p_section_dim_id='+ p2;
else if (dest == "31078")
window.location = ppath + '2198260AE59DA414E040A10A3D405553?p_document_id='+ p1+ '&p_section_dim_id='+ p2;
else if (dest == "31080")
window.location = ppath + '2236CC65FB071627E040A10A3D402939?p_document_id='+ p1;
else if (dest == "31081")
window.location = ppath + '22352B5C35C63BCBE040A10A3D402A1C?p_document_id='+ p1+ '&p_section_dim_id='+ p2;
else if (dest == "31082")
window.location = ppath + '2232C2602AA1B18DE040A10A3D405B48?p_document_id='+ p1+ '&p_section_dim_id='+ p2;
else if (dest == "31083")
window.location = ppath + '2194C82FE33C6FAEE040A10A3D4064A1?p_document_id='+ p1+ '&p_section_dim_id='+ p2;
else if (dest == "31086")
window.location = ppath + '359C506F948AF25CE040A10A64406031?p_document_id='+ p1+ '&p_section_dim_id='+ p2;
else if (dest == "31091")
window.location = ppath + '1F0D8B02691D4505E040A10A3D404A3D?p_d_i=-7886&p_d_c=&p_d_v='+ p1+ '&p_document_id='+ p2;
else if (dest == "31098")
window.location = ppath + '3CB01DA0583A9AA6E040A10A64405AAA?p_dimension_id='+ p1;
else if (dest == "31101")
window.location = ppath + '1E958939654EA094E040A10A191409BB?p_dimension_id='+ p1;
else if (dest == "31103")
window.location = ppath + '1E9589396556A094E040A10A191409BB?p_dimension_id='+ p1;
else if (dest == "31105")
window.location = ppath + '1E958939655CA094E040A10A191409BB?p_dimension_id='+ p1;
else if (dest == "31107")
window.location = ppath + '233A643DB274ACF5E040A10A191468CF?p_dimension_id='+ p1;
else if (dest == "31152")
window.location = ppath + '233A643DB288ACF5E040A10A191468CF?p_document_id='+ p1;
else if (dest == "31161")
window.location = ppath + '1E7F00BDFD44F0D2E040A10A1914649A?p_document_id='+ p1+ '&p_dimension_id='+ p2;
else if (dest == "9678")
window.location = ppath + 'CB971260AECC4692BEFDCA42C7D526BF?p_style_id=9680';
else if (dest == "9672")
window.location = ppath + 'CB971260AECC4692BEFDCA42C7D526BF?p_document_id='+ p1+ '&p_notification_id='+ p2+ '&p_style_id='+ p3+ '&p_document_id='+ p4+ '&p_origin_url='+ p5;
else if (dest == "31515")
window.location = ppath + '1E958939654EA094E040A10A191409BB?p_document_id='+ p1+ '&p_dimension_id='+ p2;
else if (dest == "31525")
window.location = ppath + '1E9589396556A094E040A10A191409BB?p_document_id='+ p1+ '&p_dimension_id='+ p2;
else if (dest == "31530")
window.location = ppath + '1E958939655CA094E040A10A191409BB?p_document_id='+ p1+ '&p_dimension_id='+ p2;
else if (dest == "31557")
window.location = ppath + '233A643DB274ACF5E040A10A191468CF?p_document_id='+ p1;
else if (dest == "31534")
window.location = ppath + '1E958939655CA094E040A10A191409BB?p_cal_date='+ p1;
else if (dest == "31603")
window.location = ppath + '2331EC705D7A9B2BE040A10A19140EA7?p_dimension_id='+ p1;
else if (dest == "9457" || dest=="SHOW_IN_CONTEXT")
{ window.open('http://www.infeksjonskontroll.no/portal/pls/portal/IKNOWBASE.ikb_portlet_formatting_set.show_in_context?p_guid='+ p1+ '&p_app='+ p2,'_new','height=800,top=' + (screen.height-800)/2 + ',width=1050,left=' + (screen.width-1050)/2 + ',scrollbars=yes,resizable=yes,menubar=1,toolbar=yes').focus();}
else if (dest == "31948")
{ window.open(ppath + '332E6B6354D23C8BE040A10A181450BF?p_document_id='+ p1,'_form','scrollbars=yes,resizable=yes').focus();}
else if (dest == "31915")
window.location = ppath + '1ECB6AF2AC098E47E040A10A19147790?p_d_i=-4859&p_d_c=&p_d_v='+ p1+ '&p_search_id='+ p2 + '&p_operation=New';
else if (dest == "31962")
{ window.open(ppath + '1F9C78AEAC40C85CE040A10A3D404109','_blank','scrollbars=yes,resizable=yes').focus();}
else if (dest == "31973")
window.location = ppath + '1E958939655CA094E040A10A191409BB?p_dimension_id='+ p1;
else if (dest == "32128" || dest=="TITLE_REDIRECT")
window.location = 'http://www.infeksjonskontroll.no/portal/pls/portal/IKNOWBASE.portlet_manage_redirect.redirect?p_document_id='+ p1+ '&p_site_id='+ p2+ '&p_target_id='+ p3+ '&p_document_type_id='+ p4+ '&p_domain_name='+ p5 + '&p_debug=1';
else if (dest == "32135" || dest=="SUBSYSTEM")
{ window.open('http://www.infeksjonskontroll.no/portal/pls/portal/ikbViewer/development/subsystem/list_by_subsystem.jsp?cbFunction=returnMetadata&cbClosure='+ p1+ '&cbMetadatatype='+ p2+ '&cbLang='+ p3+ '&cbSite='+ p4,'_metadata_select','height=600,top=' + (screen.height-600)/2 + ',width=400,left=' + (screen.width-400)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "10120")
{ window.open(ppath + '20C6574A30A9FBA5E040A10A3D4046CC?p_document_id='+ p1,'_blank','height=800,top=' + (screen.height-800)/2 + ',width=800,left=' + (screen.width-800)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "24950")
{ window.open('http://arbeidsplan/minarbeidsplan','_arbeidsplan','scrollbars=no').focus();}
else if (dest == "26036")
{ window.open('http://portal','_blank','scrollbars=no').focus();}
else if (dest == "26037")
{ window.open('http://arbeidsplan/minarbeidsplan','_blank','scrollbars=no').focus();}
else if (dest == "26263")
{ window.open(ppath + '22BE3081064EB41BE040A10A3D406491?p_document_array='+ p1,'_blank','height=800,top=' + (screen.height-800)/2 + ',width=700,left=' + (screen.width-700)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "26265")
window.location = ppath + '2014567DCB5E94E5E040A10A3D404A41?p_operation=Blank';
else if (dest == "26269")
window.location = ppath + '22BF0DFE8B26884DE040A10A3D407A29?p_d_i=-26274&p_d_c=&p_d_v='+ p1 + '&p_search_id=26268';
else if (dest == "27695")
window.location = ppath + '201F5F4E35B9EB42E040A10A3D406EE5?p_d_i=-161&p_d_c=&p_d_v='+ p1+ '&p_dimension_id='+ p1+ '&p_d_i=-27820&p_d_c=&p_d_v='+ p1;
else if (dest == "27816")
window.location = ppath + '28578F033EDA52F5E040A10A18140D36?p_d_i=-27817&p_d_c=&p_d_v='+ p1+ '&p_d_i=-27820&p_d_c=&p_d_v='+ p1+ '&p_document_id='+ p1;
else if (dest == "27836")
{ window.open(ppath + '286651ACF3534BBFE040A10A1814786C?p_d_i=-26274&p_d_c=&p_d_v='+ p1+ '&p_document_id='+ p1,'_blank','height=800,top=' + (screen.height-800)/2 + ',width=700,left=' + (screen.width-700)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "27855")
window.location = ppath + '28697DC3E3D01140E040A10A18146565?p_d_i=-4859&p_d_c=&p_d_v='+ p1 + '&p_operation=New';
else if (dest == "27859")
window.location = ppath + '201F5F4E35B9EB42E040A10A3D406EE5?p_d_i=-161&p_d_c= &p_d_v= ';
else if (dest == "27921")
window.location = ppath + '2286014F048EF3E3E040A10A3D403258?p_document_id='+ p1;
else if (dest == "27997")
window.location = ppath + 'ece_frontpage/MR_INFO_DOC?p_document_id='+ p1;
else if (dest == "27999")
window.location = ppath + 'ece_frontpage/MyRecordForumShowDoc?p_document_id='+ p1;
else if (dest == "28030")
window.location = ppath + 'ece_frontpage/MR_PUBLIC_MAIN/MR_PUBLIC_ARTICLES_DOC?p_document_id='+ p1;
else if (dest == "28036")
{ window.open(ppath + 'ece_frontpage/MR_SHOW_POP_UP?p_document_id='+ p1,'_blank','height=600,top=' + (screen.height-600)/2 + ',width=200,left=' + (screen.width-200)/2 + ',scrollbars=yes').focus();}
else if (dest == "28040")
window.location = ppath + 'ece_frontpage/MR_SearchResult?p_d_i=-122&p_d_c=&p_d_v='+ p1+ '&p_search_id='+ p2 + '&p_operation=New';
else if (dest == "31034")
window.location = ppath + '359C506F948AF25CE040A10A64406031?p_document_id='+ p1;
else if (dest == "31031")
window.location = ppath + '20267F2B7581AFAEE040A10A3D40724C?p_document_id='+ p1;
else if (dest == "31035")
window.location = ppath + '20267F2B757AAFAEE040A10A3D40724C?p_document_id='+ p1;
else if (dest == "241")
window.location = ppath + '032D91F4052C488D8B7031BEE002FC9A?p_workflow_id='+ p1;
else if (dest == "282")
window.location = ppath + '5D26F57BFBC943BBA570E99846C69B90?p_gencode_id='+ p1;
else if (dest == "288")
window.location = ppath + '9529C281CE9F4D59A343836790F3853C?p_doctype_id='+ p1;
else if (dest == "304")
window.location = ppath + '7397E50AF8044885BDE6335786677146?p_attribute_id='+ p1;
else if (dest == "321")
window.location = ppath + 'C263D4D99E2F444598DD1D129CAD135B?p_dimension_id='+ p1;
else if (dest == "303")
{ window.open(ppath + 'FF1BE1F6253A49F39FBAFFF37B5263DE?maxCount='+ p2+ '&cbFunction='+ p3+ '&mode='+ p1+ '&cbClosure='+ p4,'_dimnav','height=500,top=' + (screen.height-500)/2 + ',width=400,left=' + (screen.width-400)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "481")
window.location = ppath + '5288C48BA7F74355858B6CB870F5A1BD?p_styleset_id=41';
else if (dest == "383")
window.location = ppath + '93DA84199CA14FD697906E604B330032?p_group_id='+ p1;
else if (dest == "401")
window.location = ppath + 'C5C0CE129778408D94749C5056A844FD?p_acl_id='+ p1;
else if (dest == "403")
window.location = ppath + 'E7F6C1F7F6594BFB839662B5E5AE6C31?p_user_id='+ p1;
else if (dest == "422")
window.location = ppath + 'EAB3C06C4E2740F894FF63A0E8DB4D87?p_dimension_id='+ p1;
else if (dest == "461")
{ window.open(ppath + '19022BB66A1E4AE59CF89AE186928C11?p_document_id='+ p1,'imagedetails','scrollbars=no').focus();}
else if (dest == "424")
{ window.open(ppath + '636F1D293DDC494696034DA54F33B457?maxCount='+ p2+ '&cbFunction='+ p3+ '&mode='+ p1+ '&cbClosure='+ p4,'_dimnav2','height=500,top=' + (screen.height-500)/2 + ',width=400,left=' + (screen.width-400)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "462")
{ window.open(ppath + '779A71A670DF4BFA98143CFAB2C01186?p_dimension_id='+ p1,'imagelist','scrollbars=no').focus();}
else if (dest == "463")
{ window.open(ppath + '04F9E0B56522436B89731E6A608D1F12?p_dimension_id='+ p1,'doclist','scrollbars=no').focus();}
else if (dest == "464")
{ window.open(ppath + '5288C48BA7F74355858B6CB870F5A1BD','_parent','scrollbars=no').focus();}
else if (dest == "465")
window.location = ppath + '35611947E84C45608E5B952938C4A053?p_document_id='+ p1+ '&p_style_id='+ p2;
else if (dest == "466")
{ window.open(ppath + '35611947E84C45608E5B952938C4A053?p_document_id='+ p1,'_parent','scrollbars=no').focus();}
else if (dest == "467")
window.location = ppath + 'E9A72B13A1E0499BA6984EA64570BDAE?p_searchcode_id='+ p1;
else if (dest == "501")
{ window.open(ppath + 'A240112ED0B042C89F34D91B160E151E?img_url='+ p1+ '&img_title='+ p2+ '&editorname='+ p3+ '&img_id='+ p4+ '&cbFunction='+ p5+ '&cbClosure='+ p6+ '&img_props='+ p7,'ImageInformation','scrollbars=no').focus();}
else if (dest == "525")
window.location = ppath + '6068A9E633364BFA8FF3058504FA85B9?p_document_id='+ p1+ '&p_d_i=-201&p_d_c=&p_d_v='+ p1;
else if (dest == "541")
window.location = ppath + '2B61AC95BCA24B69B54BAD19178E2B35?p_d_i=-122&p_d_c=&p_d_v='+ p1+ '&p_search_id='+ p2+ '&p_operation='+ p3;
else if (dest == "542")
window.location = ppath + 'A432C16A97E5455BB541C7E3047EBBFE?p_d_i=-122&p_d_c=&p_d_v='+ p1+ '&p_search_id='+ p2 + '&p_operation=reset';
else if (dest == "563")
{ window.open(ppath + '48ED4B13D1014C8C9612C72494DBCC9D?p_dimension_id='+ p1,'EditDimensionWithStyle','scrollbars=no').focus();}
else if (dest == "603")
{ window.open(ppath + '2548345891EA4078A17E44628C20118C?img_url='+ p1+ '&img_title='+ p2+ '&editorname='+ p3,'picFrame','scrollbars=no').focus();}
else if (dest == "645")
window.location = ppath + 'EF22780A180149C995FB70A1E8D7AA75';
else if (dest == "842")
{ window.open(ppath + '636F1D293DDC494696034DA54F33B457','_dimselector','height=500,top=' + (screen.height-500)/2 + ',width=600,left=' + (screen.width-600)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "843")
{ window.open(ppath + '2548345891EA4078A17E44628C20118C','_imageselector','height=703,top=' + (screen.height-703)/2 + ',width=900,left=' + (screen.width-900)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "844")
{ window.open(ppath + '42B2EFCE9759419D8BE573F0FB0C452F?p_operation=new','_linkselector','height=451,top=' + (screen.height-451)/2 + ',width=945,left=' + (screen.width-945)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "850")
window.location = ppath + '2C3F568D57A343369917EA5260960DD5';
else if (dest == "855")
window.location = ppath + '1882614CF9FB42D6AA7598D3CA1D68FE';
else if (dest == "942")
{ window.open(ppath + '6ED7D5B1B59D4AEF873BC00677D806ED','_editimage','height=520,top=' + (screen.height-520)/2 + ',width=615,left=' + (screen.width-615)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "4377")
{ window.open(ppath + '66751E869E5B4411B786CF0B82636EF4?p_document_id='+ p1,'_new','height=400,top=' + (screen.height-400)/2 + ',width=1045,left=' + (screen.width-1045)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "32653")
window.location = ppath + '1F7204A895AB161DE040A10A3D403C29?p_section_dim_id=10082';
else if (dest == "32656")
window.location = ppath + '359D6E84BEA88886E040A10A64407D5F?p_document_id='+ p1+ '&p_section_dim_id='+ p2;
else if (dest == "32661")
window.location = ppath + '1F7204A895C6161DE040A10A3D403C29?p_section_dim_id=10084';
else if (dest == "32662")
window.location = ppath + '20143F376BBB4554E040A10A3D404A3F?p_section_dim_id=581';
else if (dest == "32666")
window.location = ppath + '2014DBFD1734AC66E040A10A3D404CF5?p_section_dim_id=663';
else if (dest == "32667")
window.location = ppath + '2014DBFD173CAC66E040A10A3D404CF5?p_section_dim_id=3105';
else if (dest == "32668")
window.location = ppath + '2014DBFD1740AC66E040A10A3D404CF5?p_section_dim_id=110';
else if (dest == "32758")
window.location = ppath + '201F5F4E35AFEB42E040A10A3D406EE5?p_section_dim_id=3126';
else if (dest == "36564" || dest=="PASIENT_1")
window.location = ipath + '/no/pages/hygiene/pasient/menypunkt?p_dim_id='+ p1;
else if (dest == "36573")
window.location = ipath + '/no/pages/hygiene/forskning?p_dim_id='+ p1;
else if (dest == "40922")
window.location = ppath + '38AFA8DB14DF8C02E040A10A6440798A?p_document_id='+ p1;
else if (dest == "39512")
window.location = ppath + '20143F376BB54554E040A10A3D404A3F?p_section_dim_id=3083';
else if (dest == "41740")
window.location = ipath + '/no/pages/oppholdet/rutiner?p_dimension_id='+ p1 + '&p_doc_id=27232';
else if (dest == "41742")
window.location = ipath + '/no/pages/oppholdet/rutiner?p_dimension_id='+ p1 + '&p_doc_id=27234';
else if (dest == "41743")
window.location = ipath + '/no/pages/oppholdet/rutiner?p_dimension_id='+ p1 + '&p_doc_id=27236';
else if (dest == "41745")
window.location = ipath + '/no/pages/oppholdet/rutiner?p_dimension_id='+ p1 + '&p_doc_id=27238';
else if (dest == "41746")
window.location = ipath + '/no/pages/oppholdet/rutiner?p_dimension_id='+ p1 + '&p_doc_id=27240';
else if (dest == "41804" || dest=="OM_OSS_3")
window.location = ipath + '/no/pages/hygiene/om/artikkelliste?p_dim_id='+ p1;
else if (dest == "42240")
window.location = ipath + '/no/pages/sykdom/diagnoser?p_menu_id=32169&p_sub_id=32161&p_style_id=32182&p_doc_id='+ p1;
else if (dest == "46753")
{ window.open(ppath + '49CE133AE8E8FD0CE040A10A6440642B?p_styleset_id=42643&p_form_back_url=http://mittskrivebord.rikshospitalet.no/portal/page/portal/desktop/frontpage/ressurser/avvikssystem&p_style_id=45124&p_document_id='+ p1,'_blank','scrollbars=yes,resizable=yes').focus();}
else if (dest == "46777" || dest=="EFORSKNINGHAANDBOK")
window.location = ipath + '/no/pages/hygiene/forskning/ehandbok?p_dim_id='+ p1;
else if (dest == "48292")
window.location = ppath + '4FEC6DCB9DED3831E040A10A64406268?p_document_id='+ p1;
else if (dest == "50432" || dest=="ITA")
window.location = ppath + '59FE79CFBD4569C5E040A10A64403D55';
else if (dest == "56798")
  window.open(url,"","scrollbars=no");
else if (dest == "56799")
{ window.open(ppath + '665433F84D2C42BFE040A10A64404EC5','_parent','scrollbars=no').focus();}
else if (dest == "58488")
window.location = ppath + '6C9CF74D080AD83CE040A10A64404069?p_section_dim_id=58338';
else if (dest == "59484")
window.location = '';
else if (dest == "59518")
window.location = ipath + '/no/nettundervisning/aktdoc?p_document_id='+ p1+ '&p_dim_id='+ p2;
else if (dest == "41041")
window.location = '';
else if (dest == "40938" || dest=="AKTUELT_2")
window.location = ipath + '/no/pages/hygiene/aktuelt/menypunkt?p_dimension_id='+ p1+ '&p_dim_id='+ p1;
else if (dest == "41806" || dest=="KONTAKT_OSS_1")
window.location = ipath + '/no/pages/hygiene/kontakt/menypunkt?p_dim_id='+ p1;
else if (dest == "42143")
window.location = ipath + '/no/pages/sykdom/undersokelser/detaljer?p_menu_id=32169&p_sub_id=32161&p_style_id=32182&p_doc_id='+ p1;
else if (dest == "42860")
{ window.open(ppath + '3D4D3CA22FB02CB4E040A10A6440197D','_parent','scrollbars=no').focus();}
else if (dest == "43378")
window.location = ipath + '/no/pages/barn/sykehuset?p_dim_id='+ p1 + '&p_doc_id=47882';
else if (dest == "43415")
{ window.open(ppath + '238C5DFD21ECFB3CE040A10A1914124E?p_document_id='+ p1,'_blank','height=800,top=' + (screen.height-800)/2 + ',width=800,left=' + (screen.width-800)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "43707")
window.location = ppath + '3E43D7964FDD460EE040A10A64402D00?p_doc_id='+ p1;
else if (dest == "43704")
window.location = ipath + '/no/pages/barn/ting/chatterom?p_document_id='+ p1;
else if (dest == "44714")
window.location = ipath + '/no/pages/sykdom/undersokelser/detaljer?p_menu_id=32169&p_sub_id=32163&p_style_id=32184&p_doc_id='+ p1;
else if (dest == "45196" || dest=="KURSLISTE")
{ window.open(ppath + '43AF00E1559349E9E040A10A644064D1?p_type='+ p1,'_parent','scrollbars=no').focus();}
else if (dest == "45835")
window.location = ipath + '/no/pages/klinikkene/lokasjon?p_doc_id='+ p1;
else if (dest == "46099" || dest=="RAPPORT")
window.location = ipath + '/no/pages/hygiene/om/rapport?p_dim_id='+ p1;
else if (dest == "47640" || dest=="EFORSKNINGHAANDBOK_3")
window.location = ppath + '4D41B395C2027681E040A10A64406F3F?p_doc='+ p1;
else if (dest == "47768" || dest=="EFORSKNINGHAANDBOK_6")
window.location = ppath + '4D41B395C2027681E040A10A64406F3F?p_doc='+ p1;
else if (dest == "50243")
{ window.open(ppath + '59FB122F716B3FA3E040A10A644061BC','_form','scrollbars=yes,resizable=yes').focus();}
else if (dest == "55377" || dest=="RAPPORT08")
window.location = ipath + '/no/pages/hygiene/om/rapport08?p_dim_id='+ p1;
else if (dest == "59555" || dest=="NETTUNDERVISNING_2")
window.location = ipath + '/no/nettundervisning/aktdoc?p_doc='+ p2+ '&p_dim_id='+ p1;
else if (dest == "60835")
window.location = 'http://mittskrivebord.rikshospitalet.no/portal/page/portal/desktop/frontpage/enheter';
else if (dest == "61092")
{ window.open('http://intern.laeringsportalen.helse-sorost.no/?site_url=RH','_blank','scrollbars=no').focus();}
else if (dest == "32170")
window.location = ipath + '/no/pages/sykdom?p_menu_id=32169&p_style_id=32182&p_sub_id=32161';
else if (dest == "32353")
window.location = ipath + '/no/pages/sykdom?p_menu_id=32169&p_style_id=32183&p_sub_id=32162';
else if (dest == "32355")
window.location = ipath + '/no/pages/sykdom?p_menu_id=32169&p_style_id=32184&p_sub_id=32163';
else if (dest == "32374")
window.location = ppath + '34468C2029198182E040A10A18145589?p_dimension_id='+ p1;
else if (dest == "32456")
window.location = ppath + '3263FCF4C19D61E8E040A10A18144878?p_menu_id=32169&p_style_id=32183&p_sub_id=32162&p_document_id='+ p1;
else if (dest == "32757")
window.location = ppath + '201F5F4E35ABEB42E040A10A3D406EE5?p_section_dim_id=3125';
else if (dest == "32763")
window.location = ppath + '2238FD249DC552AEE040A10A3D407BBD?p_section_dim_id=481';
else if (dest == "39513")
window.location = ppath + '2014DBFD172BAC66E040A10A3D404CF5?p_section_dim_id=3821';
else if (dest == "40242")
window.location = ppath + '37E18BE617F2E4D2E040A10A64405650?p_section_dim_id=4453';
else if (dest == "40921")
window.location = ppath + '38AF1A85A0C70E31E040A10A644069CA?p_document_id='+ p1;
else if (dest == "42147")
window.location = ipath + '/no/pages/sykdom/behandling/detaljer?p_menu_id=32169&p_sub_id=32161&p_style_id=32182&p_doc_id='+ p1;
else if (dest == "42942")
{ window.open(ppath + '3DCA43BF10F19772E040A10A64400197?maxCount='+ p2+ '&cbFunction='+ p3+ '&mode='+ p1+ '&cbClosure='+ p4+ '&topDimensionIDs='+ p5,'_dimnav2','height=500,top=' + (screen.height-500)/2 + ',width=400,left=' + (screen.width-400)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "43575")
{ window.open(ppath + '3ECD10410B56E4EFE040A10A64401B60?p_document_id='+ p1,'_blank','height=800,top=' + (screen.height-800)/2 + ',width=800,left=' + (screen.width-800)/2 + ',scrollbars=yes,resizable=yes,menubar=1,toolbar=yes').focus();}
else if (dest == "45233")
window.location = ppath + '43AC557D93849CC3E040A10A64400C56?p_articleid='+ p1;
else if (dest == "45754")
window.location = ipath + '/no/pages/barn/kommer/underside?p_doc_id='+ p1+ '&p_dim_id='+ p2;
else if (dest == "45857")
{ window.open(ppath + '49CE133AE8E8FD0CE040A10A6440642B?p_styleset_id=42643&p_form_back_url=http://mittskrivebord.rikshospitalet.no/portal/page/portal/desktop/frontpage/ressurser/avvikssystem&p_style_id=44524&p_document_id='+ p1,'_blank','scrollbars=yes,resizable=yes').focus();}
else if (dest == "45990" || dest=="OM_OSS_4")
window.location = ipath + '/no/pages/hygiene/om/rapport?p_dim_id='+ p1;
else if (dest == "46779" || dest=="EFORSKNINGHAANDBOK_4")
window.location = ppath + '49CDB37F5A5CC9E2E040A10A64405120?p_doc='+ p1+ '&p_dim_id='+ p2;
else if (dest == "46826")
window.location = ppath + '49E2780DE844AD07E040A10A644039A5';
else if (dest == "32652")
window.location = ppath + '20161510D11BA10BE040A10A3D4055BA?p_document_id='+ p1+ '&p_section_dim_id='+ p2;
else if (dest == "32664")
window.location = ppath + '20143F376BBF4554E040A10A3D404A3F?p_section_dim_id=10130';
else if (dest == "32665")
window.location = ppath + '20143F376BC34554E040A10A3D404A3F?p_section_dim_id=3087';
else if (dest == "32759")
window.location = ppath + '2236DDF9A4D941D1E040A10A3D402DF9?p_section_dim_id=112';
else if (dest == "32762")
window.location = ppath + '201F5F4E35BDEB42E040A10A3D406EE5?p_section_dim_id=3142';
else if (dest == "38713")
{ window.open(ppath + '37BB9E55928A85EFE040A10A64404379?maxCount='+ p2+ '&cbFunction='+ p3+ '&mode='+ p1+ '&cbClosure='+ p4+ '&topDimensionIDs='+ p5,'_dimnav2','height=500,top=' + (screen.height-500)/2 + ',width=400,left=' + (screen.width-400)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "40475")
window.location = ppath + '37E85DA2BE27BACFE040A10A64405C70?p_document_id='+ p1;
else if (dest == "40937" || dest=="OM_OSS_1")
window.location = ipath + '/no/pages/hygiene/om/menypunkt?p_dim_id='+ p1;
else if (dest == "41042")
window.location = ipath + '/no/pages/sok?p_d_i=-122&p_d_c=&p_d_v='+ p1+ '&p_search_id='+ p2 + '&p_operation=New&p_soek='+ p1;
else if (dest == "42073" || dest=="AKTUELT_1")
window.location = ipath + '/no/pages/hygiene/aktuelt/aktiviteter/aktivitet?p_document_id='+ p1;
else if (dest == "42133")
window.location = ipath + '/no/pages/klinikkene/lokasjon?p_doc_id='+ p1;
else if (dest == "43137")
window.location = ipath + '/no/pages/hygiene/kontakt?p_dim_id='+ p1;
else if (dest == "43571")
window.location = ppath + '3E59EAE48938601FE040A10A64402E7D?p_doc_id='+ p1;
else if (dest == "43528")
window.location = ppath + '3CB01DA0583A9AA6E040A10A64405AAA?p_document_id='+ p1+ '&p_dimension_id='+ p2;
else if (dest == "43636")
window.location = ppath + '3E5C1BFD06729D5EE040A10A644075FE?p_doc_id='+ p1;
else if (dest == "43688")
window.location = ipath + '/no/pages/barn/sykehuset/underside?p_doc_id='+ p2+ '&p_dim_id='+ p1;
else if (dest == "43468")
window.location = ipath + '/no/pages/barn/ting?p_doc_id=47886&p_dim_id='+ p1;
else if (dest == "43470")
window.location = ipath + '/no/pages/barn/glad?p_doc_id=47888&p_dim_id='+ p1;
else if (dest == "49060" || dest=="BYGGEPROSJEKTER")
window.location = ppath + '55E703F20045DB4FE040A10A6440040D?p_dim_id='+ p1;
else if (dest == "47011")
{ window.open(ppath + '4A5919D30321FE21E040A10A64400AE8?p_document_id='+ p1,'_blank','height=800,top=' + (screen.height-800)/2 + ',width=800,left=' + (screen.width-800)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "48307")
window.location = ppath + '4FF0E651E06A3EF7E040A10A64402DEB?p_section_dim_id=48432';
else if (dest == "47565" || dest=="EFORSKNINGHAANDBOK_7")
window.location = ipath + '/no/pages/hygiene/forskning/ehandbok/artikkelliste?p_dim_id='+ p1;
else if (dest == "49035" || dest=="OM_OSS_10")
window.location = 'http://www.rikshospitalet.no/ikbViewer/page/no/pages/klinikkene/enhet/artikkel?p_dim_id=45259';
else if (dest == "49087" || dest=="BYGGEPROSJEKTER_1")
window.location = ppath + '55E744C82F5A619BE040A10A64401B8C?p_dim_id='+ p1;
else if (dest == "49890" || dest=="FORSKNING_5")
window.location = ppath + '57B722C9563978FEE040A10A6440685D?p_doc='+ p1;
else if (dest == "50195")
window.location = ipath + '/no/pages/barn';
else if (dest == "50196")
window.location = ipath + '/no/pages/oppholdet';
else if (dest == "50392")
window.location = ipath + '/no/pages/hygiene/aktuelt/arkiv?ikbAction='+ p1+ '&ikb_11_operation='+ p2+ '&ikb_11_arg='+ p3;
else if (dest == "55064")
{ window.open(ipath + '/no/pages/klinikkene/enhet/olafiaskjema','_form','scrollbars=yes,resizable=yes').focus();}
else if (dest == "38001")
{ window.open(ipath + '/no/pages/utskriftsvennlig?p_document_id='+ p1,'_blank','height=800,top=' + (screen.height-800)/2 + ',width=800,left=' + (screen.width-800)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "36783")
window.location = ipath + '/no/pages/oppholdet/rutiner?p_dimension_id='+ p1+ '&p_doc_id='+ p2;
else if (dest == "37399")
window.location = ppath + '3263FCF4C19D61E8E040A10A18144878?ASSOC_TYPE_ID=23083&TOPIC_ID=23197';
else if (dest == "40923")
window.location = ppath + '38AF916A6EBAD523E040A10A6440728F?p_document_id='+ p1;
else if (dest == "40947")
window.location = ppath + '38C1400D93FA6E3AE040A10A64404998?p_doc_id='+ p1;
else if (dest == "42545")
window.location = ipath + '/no/pages/hygiene/helsepersonell/artikkel?p_doc='+ p1+ '&p_dim_id='+ p2;
else if (dest == "42534")
window.location = ipath + '/no/pages/hygiene/helsepersonell?p_dim_id='+ p1;
else if (dest == "42607" || dest=="DITTSYKEHUS_01")
window.location = ipath + '/no/pages/klinikkene/enhet/artikkel?p_dim_id='+ p1;
else if (dest == "43576")
{ window.open(ppath + 'no/forsiden/show_en?p_document_id='+ p1,'_blank','height=800,top=' + (screen.height-800)/2 + ',width=800,left=' + (screen.width-800)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "43491")
window.location = ipath + '/no/pages/barn/kommer?p_doc_id=47880&p_dim_id='+ p1;
else if (dest == "43634")
window.location = ppath + '3E5B100DD71DBC17E040A10A64404B6D?p_doc_id='+ p1;
else if (dest == "44628")
window.location = ipath + '/no/pages/sykdom/diagnoser?p_menu_id=32169&p_sub_id=32162&p_style_id=32183&p_doc_id='+ p1;
else if (dest == "44659")
window.location = ipath + '/no/pages/sykdom/behandling/detaljer?p_menu_id=32169&p_sub_id=32162&p_style_id=32183&p_doc_id='+ p1;
else if (dest == "44647")
{ window.open(ppath + '419070F4A8B3E45BE040A10A64407E51?p_dimension_id=44638','_new','height=600,top=' + (screen.height-600)/2 + ',width=800,left=' + (screen.width-800)/2 + ',scrollbars=no').focus();}
else if (dest == "44660")
window.location = ipath + '/no/pages/sykdom/behandling/detaljer?p_menu_id=32169&p_sub_id=32163&p_style_id=32184&p_doc_id='+ p1;
else if (dest == "44710")
window.location = ipath + '/no/pages/sykdom/undersokelser/detaljer?p_menu_id=32169&p_sub_id=32162&p_style_id=32183&p_doc_id='+ p1;
else if (dest == "45750")
window.location = ipath + '/no/pages/barn/sykehuset/underside?p_doc_id='+ p1+ '&p_dim_id='+ p2;
else if (dest == "45783")
window.location = ipath + '/no/pages/barn/ting/underside?p_doc_id='+ p1+ '&p_dim_id='+ p2;
else if (dest == "47286" || dest=="FORSKNING_6")
window.location = ipath + '/no/pages/hygiene/forskning/artikkel?p_dim_id='+ p2+ '&p_doc='+ p1;
else if (dest == "47766")
window.location = ppath + '4C79CC73714E70DBE040A10A644042C0?p_dimension_id='+ p1;
else if (dest == "49122" || dest=="BYGGEPROSJEKTER_2")
window.location = ppath + '56227947B29ED770E040A10A64403770?p_dim_id='+ p1;
else if (dest == "50000")
window.location = ppath + '5896370972E76637E040A10A64403B91?p_dim_id='+ p1;
else if (dest == "49352")
window.location = ipath + '/no/pages/hygiene/presseklipp/artikkel?p_document_id='+ p1;
else if (dest == "49251" || dest=="PASIENT_2")
window.location = ipath + '/no/pages/hygiene/pasient/artikkelliste?p_dim_id='+ p1;
else if (dest == "38522")
window.location = ipath + '/no/pages/hygiene/pasient?p_dim_id='+ p1;
else if (dest == "40939" || dest=="AKTUELT_3")
window.location = ipath + '/no/pages/hygiene/aktuelt/artikkel?p_doc='+ p1;
else if (dest == "40940" || dest=="OM_OSS_2")
window.location = ipath + '/no/pages/hygiene/om/artikkel?p_doc='+ p1+ '&p_dim_id='+ p2;
else if (dest == "42135")
window.location = ipath + '/no/pages/klinikkene/enhet?p_doc_id='+ p1+ '&p_dim_id='+ p2;
else if (dest == "42165")
{ window.open('http://ikbportal.rikshospitalet.no/pls/portal','_blank','scrollbars=no').focus();}
else if (dest == "42619")
window.location = ipath + '/no/pages/klinikkene/enhet/artikkel?p_dim_id='+ p1+ '&p_doc='+ p2;
else if (dest == "43455")
window.location = ipath + '/no/pages/barn/drar?p_doc_id=47884&p_dim_id='+ p1;
else if (dest == "43501")
window.location = ipath + '/no/pages/barn/sykehuset?p_doc_id=47882&p_dim_id='+ p1;
else if (dest == "43581")
window.location = ppath + '3E5A413723DC29E8E040A10A64404214?p_doc_id='+ p1;
else if (dest == "44596")
{ window.open(ppath + '2075FC9B7F41CCC3E040A10A3D4037D8?p_document_id='+ p1,'_thread','scrollbars=no').focus();}
else if (dest == "44629")
window.location = ipath + '/no/pages/sykdom/diagnoser?p_menu_id=32169&p_sub_id=32163&p_style_id=32184&p_doc_id='+ p1;
else if (dest == "45781")
window.location = ipath + '/no/pages/barn/drar/underside?p_doc_id='+ p1+ '&p_dim_id='+ p2;
else if (dest == "47643")
window.location = ppath + '49CDB37F5A5CC9E2E040A10A64405120?p_dim_id='+ p1;
else if (dest == "49129" || dest=="BYGGEPROSJEKTER_3")
window.location = ppath + '561207DE0DB21C95E040A10A64405AB1?p_doc='+ p1;
else if (dest == "48557")
{ window.open('http://mittskrivebord.rikshospitalet.no/portal/page/portal/desktop/frontpage/enheter/klinikker?sectionId=63&p_section_dim_id=9615%20','_parent','scrollbars=no').focus();}
else if (dest == "49187")
window.location = ipath + '/no/pages/hygiene/stillinger?p_dim_id='+ p1;
else if (dest == "49300" || dest=="FORSKNING_10")
window.location = ipath + '/no/pages/hygiene/forskning/artikkelliste?p_dim_id='+ p1;
else if (dest == "49188")
window.location = ipath + '/no/pages/hygiene/english?p_dim_id='+ p1;
else if (dest == "50197")
window.location = ipath + '/no/pages/klinikkene';
else if (dest == "50477" || dest=="ITADATASENTER")
window.location = ppath + '5A7AA3180B5BD9C6E040A10A64407EF2';
else if (dest == "51434")
{ window.open(ppath + '3D3B090901822338E040A10A64402C46','_parent','scrollbars=no').focus();}
else if (dest == "55099")
window.location = ppath + '623EB373D44CCF9DE040A10A64401528?p_section_dim_id=55090';
else if (dest == "55167")
window.location = ppath + '628C3E2D16CA51CEE040A10A64405F49?p_section_dim_id=55154';
else if (dest == "38515")
window.location = ipath + '/no/pages/hygiene/om?p_dim_id='+ p1;
else if (dest == "38531")
window.location = ipath + '/no/pages/hygiene/aktuelt?p_dim_id='+ p1;
else if (dest == "40935")
window.location = ppath + '385F7AE2DF352688E040A10A644069DB?p_document_id='+ p1;
else if (dest == "43337" || dest=="HELSE_3")
window.location = ipath + '/no/pages/hygiene/helsepersonell/artikkelliste?p_dim_id='+ p1;
else if (dest == "43584")
window.location = ppath + '3E4569E74DD4E4F2E040A10A64405DDB?p_doc_id='+ p1;
else if (dest == "44127" || dest=="HELSE_10")
window.location = ipath + '/no/pages/hygiene/helsepersonell/menypunkt?p_dim_id='+ p1;
else if (dest == "45190")
{ window.open(ppath + '43AC557D93849CC3E040A10A64400C56?p_articleid='+ p1,'_parent','scrollbars=no').focus();}
else if (dest == "45785")
window.location = ipath + '/no/pages/barn/glad/underside?p_doc_id='+ p1+ '&p_dim_id='+ p2;
else if (dest == "46470")
{ window.open(ppath + '493F3764537690CEE040A10A644004F1?p_document_id='+ p1,'_blank','scrollbars=yes,resizable=yes').focus();}
else if (dest == "46114")
window.location = ipath + '/no/pages/hygiene/om/rapport/artikkel?p_doc='+ p1+ '&p_dim_id='+ p2;
else if (dest == "46774" || dest=="FORSKNING_4")
window.location = ipath + '/no/pages/hygiene/forskning/ehandbok?p_dim_id='+ p1;
else if (dest == "46877")
{ window.open(ppath + '49E5ABAA07679EEDE040A10A644070E1?p_document_id='+ p1+ '&p_d_i=-49079&p_d_c=&p_d_v='+ p1,'_blank','height=800,top=' + (screen.height-800)/2 + ',width=800,left=' + (screen.width-800)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "47387" || dest=="PROFESJON")
window.location = ppath + '4BB2A057CD10E72DE040A10A64406634?p_dimension_id='+ p1+ '&p_dim_id='+ p1;
else if (dest == "47709" || dest=="EFORSKNINGHAANDBOK_5")
window.location = ppath + '4C79CC73714E70DBE040A10A644042C0?p_doc='+ p1;
else if (dest == "47917" || dest=="EFORSKNINGHAANDBOK_10")
window.location = ppath + '4E368B06A3C8DF0EE040A10A64401FF9?p_dimension_id='+ p1+ '&p_dim_id='+ p1;
else if (dest == "49066" || dest=="OM_OSS_30")
window.location = ppath + '55E703F20045DB4FE040A10A6440040D?p_dim_id='+ p1;
else if (dest == "55170")
window.location = ppath + '766F18C80146262BE040A10A644024D9?p_document_id='+ p1;
else if (dest == "55383" || dest=="OM_OSS_5")
window.location = ipath + '/no/pages/hygiene/om/rapport08?p_dim_id='+ p1;
else if (dest == "56455")
window.location = ipath + '/no/pages/hygiene/om/rapport08/artikkel?p_doc='+ p1+ '&p_dim_id='+ p2;
else if (dest == "57371")
{ window.open(ppath + '40EDC133B20D76D2E040A10A64404680','_blank','width=100,left=' + (screen.width-100)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "56540")
{ window.open('http://med3k4055/eknet/tree.aspx?MappeID=945&Levels=1&SID=1&Top=0&noresize=1&start=0&expand=1&HPM=1','_blank','scrollbars=no').focus();}
else if (dest == "58377" || dest=="AF")
window.location = ppath + '6C87A59FC0AEFC07E040A10A64401C76?p_section_dim_id=58334';
else if (dest == "58482")
window.location = ppath + '6C9BEB781F34E9C4E040A10A644075A9?p_section_dim_id=58335';
else if (dest == "58484")
window.location = ppath + '6C9CEE5BF9491B91E040A10A64404067?p_section_dim_id=58336';
else if (dest == "58486")
window.location = ppath + '6C9CEE5BF98C1B91E040A10A64404067?p_section_dim_id=58337';
else if (dest == "58609")
window.location = ppath + '628C314E7A4C4990E040A10A64405F47?p_document_id='+ p1+ '&p_section_dim_id='+ p2;
else if (dest == "59475" || dest=="NETTUNDERVISNING")
window.location = ipath + '/no/ui/nettundervisning?p_dim_id='+ p1;
else if (dest == "59559" || dest=="NETTUNDERVISNING_3")
window.location = ipath + '/no/nettundervisning/artikkelliste?p_dim_id='+ p1;
else if (dest == "59582" || dest=="NETTUNDERVISNING_7")
window.location = ipath + '/no/ui/nettundervisning?p_dim_id='+ p1;
else if (dest == "60834")
window.location = 'http://mittskrivebord.rikshospitalet.no/portal/page/portal/desktop/frontpage/enheter/klinikker';
else if (dest == "32660")
window.location = ppath + '2232C2602A86B18DE040A10A3D405B48?p_document_id='+ p1;
else if (dest == "32659")
window.location = ppath + '1F7204A895B8161DE040A10A3D403C29?p_section_dim_id=10083';
else if (dest == "32669")
window.location = ppath + '22222F56AD406242E040A10A3D401B3A?p_document_id='+ p1+ '&p_section_dim_id='+ p2;
else if (dest == "32671")
window.location = ppath + '2014DBFD1744AC66E040A10A3D404CF5?p_section_dim_id=1081';
else if (dest == "32760")
window.location = ppath + '2194C82FE3566FAEE040A10A3D4064A1?p_document_id='+ p1+ '&p_section_dim_id='+ p2;
else if (dest == "36841")
window.location = ppath + '3262185E6D784F6FE040A10A18141921';
else if (dest == "37666")
window.location = '&p_d_i=-37665&p_d_c=&p_d_v='+ p1;
else if (dest == "40588")
{ window.open('http://sykehuspartner.bluegarden.no','_blank','scrollbars=no').focus();}
else if (dest == "39956")
{ window.open('http://www.infeksjonskontroll.no/redirect/redirect.jsp','_blank','scrollbars=no').focus();}
else if (dest == "41623")
window.location = ppath + '39E1661C06991F03E040A10A64402CEA?p_dimension_id='+ p1+ '&p_dim_id='+ p1;
else if (dest == "41624" || dest=="FORSKNING_2")
window.location = ipath + '/no/pages/hygiene/forskning/menypunkt?p_dim_id='+ p1;
else if (dest == "41758")
window.location = ipath + '/no/pages/hygiene/presseklipp/artikkel?p_document_id='+ p1;
else if (dest == "50181" || dest=="ENGLISH_2")
window.location = ipath + '/no/pages/hygiene/english/menypunkt?p_dim_id='+ p1;
else if (dest == "42544")
{ window.open(ipath + '/no/pages/popup?p_document_id='+ p1,'_blank','height=800,top=' + (screen.height-800)/2 + ',width=800,left=' + (screen.width-800)/2 + ',scrollbars=yes,resizable=yes,menubar=1,toolbar=yes').focus();}
else if (dest == "55102")
window.location = ppath + '623EC0DAD50ED7C1E040A10A64400555?p_document_id='+ p1+ '&p_section_dim_id='+ p2;
else if (dest == "42645")
window.location = ppath + '3D3EB504DB79D209E040A10A64401753?p_dimension_id='+ p1;
else if (dest == "42608" || dest=="DITTSYKEHUS_02")
window.location = ipath + '/no/pages/klinikkene/enhet/artikkel?p_dim_id='+ p1+ '&p_liste='+ p1;
else if (dest == "44357")
window.location = ppath + '402400397C1FB497E040A10A644001FB?p_dim_id='+ p1;
else if (dest == "44453")
{ window.open('http://www.rikshospitalet.no','_blank','scrollbars=no').focus();}
else if (dest == "44539")
window.location = ppath + '40EDC133B20D76D2E040A10A64404680';
else if (dest == "45238")
{ window.open(ppath + '359C506F948AF25CE040A10A64406031?p_document_id='+ p1,'_parent','scrollbars=no').focus();}
else if (dest == "45863")
{ window.open(ppath + '49CE133AE8E8FD0CE040A10A6440642B?p_style_id=44590&p_document_id_avvik='+ p2+ '&p_document_id='+ p1,'_blank','scrollbars=yes,resizable=yes').focus();}
else if (dest == "46754")
{ window.open(ppath + '49CE133AE8E8FD0CE040A10A6440642B?p_styleset_id=42643&p_form_back_url=http://mittskrivebord.rikshospitalet.no/portal/page/portal/desktop/frontpage/ressurser/avvikssystem&p_style_id=45127&p_document_id='+ p1,'_blank','scrollbars=yes,resizable=yes').focus();}
else if (dest == "46762")
{ window.open(ppath + '49CE133AE8E8FD0CE040A10A6440642B','_form','scrollbars=yes,resizable=yes').focus();}
else if (dest == "48086")
window.location = '';
else if (dest == "48627")
window.location = ipath + '/no/pages/utskriftsvennlig?p_dim_id='+ p1+ '&p_doc='+ p1;
else if (dest == "48196")
window.location = ppath + '4FDB8A15BFAE22F4E040A10A64402EA8?p_d_i=-4859&p_d_c=&p_d_v='+ p1;
else if (dest == "48280")
window.location = '';
else if (dest == "48333")
  window.open(url,"","scrollbars=no");
else if (dest == "48541")
window.location = ppath + '507B41FB6969A48EE040A10A6440351F?p_document_id='+ p1+ '&p_section_dim_id='+ p2;
else if (dest == "637425")
{ window.open(ppath + '863ED652FD31522AE040040A0FF42D8B?p_document_id='+ p1,'_form','scrollbars=yes,resizable=yes').focus();}
else if (dest == "637435" || dest=="FORSIDEN")
window.location = ipath + '/ekurve/forsiden';
else if (dest == "637438" || dest=="NYHETER")
window.location = ipath + '/ekurve/nyheter';
else if (dest == "637512")
{ window.open(ppath + '871A659E3715CD1CE040040A0FF43592','_form','scrollbars=yes,resizable=yes').focus();}
else if (dest == "637516" || dest=="PUBLISHING")
{ window.open(ipath + '/ekurve/publisering','_form','scrollbars=no').focus();}
else if (dest == "637530")
  window.open(url,"","scrollbars=no");
else if (dest == "637531")
{ window.open(ipath + '/ekurve/registreringsbilde','_blank','scrollbars=yes,resizable=yes').focus();}
else if (dest == "637538")
window.location = ipath + '/ekurve/artikkelregistrering?p_style_id=637511';
else if (dest == "637553")
window.location = ipath + '/ekurve/nyheter/siste-nyheter';
else if (dest == "637564" || dest=="ARKIV")
window.location = ipath + '/ekurve/nyheter/arkiv';
else if (dest == "637587" || dest=="NETTUNDERVISNING_2")
window.location = ipath + '/no/nettundervisning/artikkel?p_dim_id='+ p1;
else if (dest == "637593" || dest=="NETTUNDERVISNING_50")
window.location = ipath + '/no/nettundervisning/artikkel?p_dim_id='+ p1;
else if (dest == "637606")
window.location = ipath + '/no/nettundervisning/aktdoc?p_document_id='+ p1+ '&p_dim_id='+ p2;
else if (dest == "637609")
window.location = ipath + '/no/nettundervisning/artikkel?p_document_id='+ p1;
 else call_ikb_popup_dynamic(p1,dest,p2,p3,p4,p5,p6,p7,p8,p9);
return false;
}
function call_ikb_homeplace(documentid, target, siteid, domainid, documenttype, viewertarget, viewdebug, versionno)
{
if (typeof documentid == "undefined")
   documentid="";
if (typeof siteid == "undefined")
	siteid="";
if (typeof domainid == "undefined")
	domainid="";
if (typeof documenttype == "undefined")
	documenttype="";
if (typeof viewertarget == "undefined")
	viewertarget="";
if (typeof viewdebug == "undefined")
	viewdebug ="";
if (typeof versionno == "undefined")
	versionno ="";

  var run_url = "/portal/pls/portal/IKNOWBASE.portlet_manage_redirect.redirect?p_document_id="+ encodeURIComponent(documentid)+ "&p_site_id="+ encodeURIComponent(siteid)+ "&p_target_id="+ encodeURIComponent(viewertarget)+ "&p_domain_name="+ encodeURIComponent(domainid)+ "&p_document_type_id="+ encodeURIComponent(documenttype) + "&p_debug="+ encodeURIComponent(viewdebug) + "&p_version_no="+ encodeURIComponent(versionno);
		 var code = jQuery.ajax({
		  url: run_url,
		  async: false
		 }).responseText;
		 if (code != null)
			if (viewdebug == "1")
				alert(code);
			else
				eval(code);

             return false;
             }
            
function set_new_version (doc_id, version_no, site_id)
        {
         var run_url = "/portal/pls/portal/IKNOWBASE.ikb_ce_custom_editor_portlet.switch_version?p_document_id="+ encodeURIComponent(doc_id)+ "&p_site_id="+ encodeURIComponent(site_id)+ "&p_version_no="+ encodeURIComponent(version_no);

         var code = jQuery.ajax({
          url: run_url,
          async: false
         }).responseText;

	if (code != "OK")
		alert(code);
	else
        	window.location.reload();
        }

