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 : 07.09.2010 01:28:13
if (! window.focus) return true;

if (typeof p1 == "undefined") url=""; else url=p1;
if (typeof p1 == "undefined") p1=""; else p1=escape(p1);
if (typeof p2 == "undefined") p2=""; else p2=escape(p2);
if (typeof p3 == "undefined") p3=""; else p3=escape(p3);
if (typeof p4 == "undefined") p4=""; else p4=escape(p4);
if (typeof p5 == "undefined") p5=""; else p5=escape(p5);
if (typeof p6 == "undefined") p6=""; else p6=escape(p6);
if (typeof p7 == "undefined") p7=""; else p7=escape(p7);
if (typeof p8 == "undefined") p8=""; else p8=escape(p8);
if (typeof p9 == "undefined") p9=""; else p9=escape(p9);

var ppath = '/portal/page/portal/';
var ipath = '/ikbViewer/page/';
if (dest == "241")
window.location = ppath + '29EE2952CDCAD25EE040007F01003801?p_workflow_id='+ p1;
else if (dest == "282")
window.location = ppath + '29ECDD63A7F2437AE040007F010037FF?p_gencode_id='+ p1;
else if (dest == "288")
window.location = ppath + '29ECD34FF08A440FE040007F010037FD?p_doctype_id='+ p1;
else if (dest == "304")
window.location = ppath + '29EBC95DDC4F586AE040007F010037E0?p_attribute_id='+ p1;
else if (dest == "321")
window.location = ppath + '29EE2952CDD5D25EE040007F01003801?p_dimension_id='+ p1;
else if (dest == "303")
{ window.open(ppath + '29FE781D2A6A1B78E040007F01007124?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 + '29EBC216BB358AB3E040007F010037DE?p_styleset_id=41';
else if (dest == "383")
window.location = ppath + '29ED13D29F5CE466E040007F010037DC?p_group_id='+ p1;
else if (dest == "401")
window.location = ppath + '29ED13D29F22E466E040007F010037DC?p_acl_id='+ p1;
else if (dest == "403")
window.location = ppath + '29EBC216BB228AB3E040007F010037DE?p_user_id='+ p1;
else if (dest == "422")
window.location = ppath + '29FE823A7B0B65F9E040007F01007438?p_dimension_id='+ p1;
else if (dest == "461")
{ window.open(ppath + '29ECABF61ADDE2FBE040007F010037FB?p_document_id='+ p1,'imagedetails','scrollbars=no').focus();}
else if (dest == "424")
{ window.open(ppath + '29FE823A7B4165F9E040007F01007438?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 + '29ECD34FF071440FE040007F010037FD?p_dimension_id='+ p1,'imagelist','scrollbars=no').focus();}
else if (dest == "463")
{ window.open(ppath + '29ED13D29F24E466E040007F010037DC?p_dimension_id='+ p1,'doclist','scrollbars=no').focus();}
else if (dest == "464")
{ window.open(ppath + '29EBC216BB358AB3E040007F010037DE','_parent','scrollbars=no').focus();}
else if (dest == "465")
window.location = ppath + '29ECB23AE8584904E040007F01003CF8?p_document_id='+ p1+ '&p_style_id='+ p2;
else if (dest == "466")
{ window.open(ppath + '29ECB23AE8584904E040007F01003CF8?p_document_id='+ p1,'_parent','scrollbars=no').focus();}
else if (dest == "467")
window.location = ppath + '29ECDD63A82D437AE040007F010037FF?p_searchcode_id='+ p1;
else if (dest == "501")
{ window.open(ppath + '29FE781D2A601B78E040007F01007124?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 + '29FAD9503F5BD822E040007F01005719?p_document_id='+ p1+ '&p_d_i=-201&p_d_c=&p_d_v='+ p1;
else if (dest == "541")
window.location = ppath + '29ECB23AE84E4904E040007F01003CF8?p_query='+ p1+ '&p_search_id='+ p2+ '&p_operation='+ p3;
else if (dest == "542")
window.location = ppath + '29EE2952CDE2D25EE040007F01003801?p_query='+ p1+ '&p_search_id='+ p2 + '&p_operation=reset';
else if (dest == "563")
{ window.open(ppath + '29EE2952CDD5D25EE040007F01003801?p_dimension_id='+ p1,'EditDimensionWithStyle','scrollbars=no').focus();}
else if (dest == "603")
{ window.open(ppath + '29FE781D2A601B78E040007F01007124?img_url='+ p1+ '&img_title='+ p2+ '&editorname='+ p3,'picFrame','scrollbars=no').focus();}
else if (dest == "645")
window.location = ppath + '29ECD34FF091440FE040007F010037FD';
else if (dest == "842")
{ window.open(ppath + '29FE823A7B4165F9E040007F01007438','_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 + '29FE781D2A501B78E040007F01007124','_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 + '29FE823A7B1665F9E040007F01007438?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 + '29ED13D29F63E466E040007F010037DC','_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 == "4376")
{ window.open(ppath + '6BC568409BB241ED8C9F557E604805B4','_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 + '29ECABF61AEDE2FBE040007F010037FB?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 + '29FCE18C18206A9EE040007F01006C40?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 + '29FE823A7B3165F9E040007F01007438','_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 + '29E96C1017A2B917E040007F01001DAF?p_document_id='+ p1,'_parent','scrollbars=no').focus();}
else if (dest == "7584")
{ window.open(ppath + '29FE781D29FD1B78E040007F01007124?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('http://www.teknakurs.no/ikbStudio/devtools?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 + '29ECD34FF08A440FE040007F010037FD';
else if (dest == "7858")
window.location = ppath + '46F729C591FB48EAAA06FCBB8203F31C?p_document_id='+ p1;
else if (dest == "7860")
window.location = ppath + '6E3AD55EB9BE401DADEECB304D7C7AB4?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 == "12125")
window.location = 'http://www.nff.no/';
else if (dest == "12163")
window.location = ppath + 'F4285ED40BE54FE9928DA6EDA9095C48?p_document_id='+ p1;
else if (dest == "12361")
window.location = ppath + '176591CEDE9946669CFB9DF730D96EA5?p_document_id='+ p1;
else if (dest == "12551")
{ window.open(ppath + '74CDA0EEC0CA4A2F8EEF34F842629670?p_document_id='+ p1,'_form_off','width=1000,left=' + (screen.width-1000)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "12386")
window.location = ppath + '836376B7FF034D058A414FC6CBA2A13C?p_document_id='+ p1;
else if (dest == "12603")
window.location = ppath + 'C4C834C7DDFC4742A26E47297D533764?p_dim='+ p1;
else if (dest == "12810")
window.location = ppath + 'DB871600B77F4B72A8F678BD399E6BC6';
else if (dest == "12698")
window.location = ppath + 'EC4CE4D2349F46038D7D72D40FDB0E0E?p_org='+ p1+ '&p_o='+ p2+ '&p_menu='+ p3+ '&p_submenu='+ p6+ '&p_kurs_kalender='+ p4 + '&p_type=TF&p_orgkom='+ p7;
else if (dest == "12843")
window.location = ppath + '645C4DEBFEE6468799FC1EC0A55EFAD8';
else if (dest == "12845")
window.location = ppath + 'E9CC89B234524FB6A1D1E190FDBC47A2?p_document_id='+ p1;
else if (dest == "12851")
window.location = ppath + '398D89D7674141FE8C32761253973B1D';
else if (dest == "12852")
{ window.open('http://www.nhif.no','_blank','scrollbars=no').focus();}
else if (dest == "12853")
{ window.open('http://www.kjemi.no/','_blank','scrollbars=no').focus();}
else if (dest == "12862")
window.location = ppath + '15330360101F4143ACD5198424011094?p_dim='+ p1;
else if (dest == "12877")
{ window.open(ppath + 'EC7EE24D25384E92905E7C11EA29758C?p_document_id='+ p1+ '&p_d_i=-11170&p_d_c=&p_d_v='+ p1,'_parent','scrollbars=no').focus();}
else if (dest == "13364")
window.location = ppath + '3795120DDF304DF29CFB1D8C53FA9926?p_document_id='+ p1;
else if (dest == "13428")
window.location = ppath + 'D7D7EE94E9FA4EB68CB9D00BE0AB5E8C?p_dim='+ p1+ '&p_document_id='+ p1;
else if (dest == "7981")
window.location = ppath + 'CAEEBFD66A614F1DA424776A9581E41F?p_query='+ 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_dim2='+ 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 + '29ECDD63A80F437AE040007F010037FF?p_search_id='+ p2;
else if (dest == "9421")
window.location = ppath + 'EC8DFC3599624D58993995BA10A6CD0C';
else if (dest == "9632")
window.location = ppath + 'A63F2FB9BC034F9FB32A5CB87A6BB3D9?p_dimension_id='+ p1;
else if (dest == "9635")
window.location = ppath + 'A63F2FB9BC034F9FB32A5CB87A6BB3D9';
else if (dest == "9642")
window.location = ppath + 'A63F2FB9BC034F9FB32A5CB87A6BB3D9?p_dimension_id='+ p1;
else if (dest == "9656")
window.location = ppath + 'A63F2FB9BC034F9FB32A5CB87A6BB3D9?p_document_id='+ p1+ '&p_style_id='+ p2;
else if (dest == "9700")
window.location = ppath + 'BC578F3E41754085A7E7648AAB7E21B3?p_avdeling_id='+ p1+ '&p_o='+ p2+ '&p_menu_id='+ p3+ '&p_kurs_kalender='+ p4+ '&p_forsidemeny_id='+ p5+ '&p_org3='+ p7+ '&p_plassering='+ p8;
else if (dest == "9963")
window.location = ppath + '3244B52FFC824C0DA434EC5901C0EA15?p_search_id='+ p2 + '&p_operation=New&p_query='+ p1;
else if (dest == "9994")
window.location = ppath + '2C76C432F030490987F78F6F0D729F53?p_dim='+ p1;
else if (dest == "10003")
window.location = ppath + 'B10BA2E6F29346F0BDB300276BD20317?p_document_id='+ p1;
else if (dest == "10002")
window.location = ppath + '758737112B4E48D6B3199B1074F51D75?p_dim='+ p1;
else if (dest == "10004")
window.location = ppath + '3795120DDF304DF29CFB1D8C53FA9926?p_dim='+ p1;
else if (dest == "10014")
window.location = ppath + 'CC16D05A66D2400D9A7F6DB2E32EA90F?p_dimension_id='+ p1;
else if (dest == "10034")
{ window.open(url,'_popup','height=600,top=' + (screen.height-600)/2 + ',width=800,left=' + (screen.width-800)/2 + ',scrollbars=yes,resizable=yes,menubar=1,toolbar=yes').focus();}
else if (dest == "10173")
{ window.open(ppath + 'E0118884C33749F992225787E03C90CD?p_styleset_id=10179&p_form_back_url=/portal/page/portal/tekna/admin','_parent','scrollbars=no').focus();}
else if (dest == "10203")
{ window.open(ppath + 'BD56D2561D33467EB748758641993B13','_parent','scrollbars=no').focus();}
else if (dest == "10233")
{ window.open(ppath + 'EC7EE24D25384E92905E7C11EA29758C?p_document_id='+ p1+ '&p_d_i=-11170&p_d_c=&p_d_v='+ p1,'_parent','scrollbars=no').focus();}
else if (dest == "10823")
{ window.open(ppath + '6BC568409BB241ED8C9F557E604805B4','_form','width=1000,left=' + (screen.width-1000)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "10242")
window.location = ppath + '8DBBD524F3D343279B6A5771B064BFAB?p_document_id='+ p1;
else if (dest == "11177")
window.location = ppath + '7A9F8778C029460F83D645647C892170';
else if (dest == "11306")
window.location = ppath + '1433F3C6DA13433DB8F1058B873F8C41?p_dimension_id='+ p1+ '&p_last_item='+ p1;
else if (dest == "11324")
window.location = ppath + '559DD34DD27240768FBD3E531C675A93?p_dim='+ p1;
else if (dest == "11329")
window.location = ppath + '97C821EDE2DC407E93BF3E0D9D632700?p_dim='+ p1+ '&p_dim2='+ p1;
else if (dest == "11384")
window.location = ppath + '1433F3C6DA13433DB8F1058B873F8C41?p_dimension_id='+ p1 + '&p_menu_id=9611&p_submenu_id=9536';
else if (dest == "11387")
window.location = ppath + '1433F3C6DA13433DB8F1058B873F8C41?p_dimension_id='+ p1 + '&p_menu_id=9611&p_submenu_id=9537';
else if (dest == "11388")
window.location = ppath + '1433F3C6DA13433DB8F1058B873F8C41?p_dimension_id='+ p1 + '&p_menu_id=9611&p_submenu_id=9538';
else if (dest == "11394")
window.location = ppath + 'D0F8EA98D93A497FA812E941A589F448?p_styre_id='+ p1+ '&p_document_id='+ p1+ '&p_o='+ p2+ '&p_menu_id='+ p3;
else if (dest == "11395")
window.location = ppath + 'A63F2FB9BC034F9FB32A5CB87A6BB3D9?p_dimension_id='+ p1 + '&p_menu_id=9611&p_submenu_id=9539';
else if (dest == "11404")
{ window.open(ppath + 'A63F2FB9BC034F9FB32A5CB87A6BB3D9?p_styleset_id='+ p1,'_parent','scrollbars=no').focus();}
else if (dest == "11402")
{ window.open(ppath + '232F6DCCEA594D99ABDD7E6F84AE1782?p_dimension_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 == "11414")
window.location = ppath + 'EC4CE4D2349F46038D7D72D40FDB0E0E?p_org='+ p1+ '&p_o='+ p2+ '&p_menu='+ p3+ '&p_submenu='+ p6+ '&p_kurs_kalender='+ p4 + '&p_type=F&p_orgkom='+ p7;
else if (dest == "11441")
window.location = ppath + 'EF620BB0D57E4846B20E6634433A013F?p_document_id='+ p1+ '&p_d_i=-11170&p_d_c=&p_d_v='+ p1;
else if (dest == "11474")
{ window.open(ppath + '12DEEA094B4E41728B3A1CAA4A33CBFF?p_d_i=-11170&p_d_c=&p_d_v='+ p1,'_form_rel','width=1000,left=' + (screen.width-1000)/2 + ',scrollbars=yes,resizable=yes,menubar=1,toolbar=yes').focus();}
else if (dest == "11518")
window.location = ppath + 'AFA5166365E84956855112FEB644B912';
else if (dest == "11590")
window.location = ppath + 'A63F2FB9BC034F9FB32A5CB87A6BB3D9';
else if (dest == "11602")
window.location = ppath + 'F25A27E23A6C448F8B2CD729E790D5B6';
else if (dest == "11633")
window.location = ppath + 'D9AC979F77804A9FB8FB31DEAC5B7375?p_dim='+ p1;
else if (dest == "11667")
{ window.open('http://www.prosjektledelse.org','_blank','scrollbars=no').focus();}
else if (dest == "11654")
{ window.open('http://www.njkf.no/','_blank','scrollbars=no').focus();}
else if (dest == "11758")
window.location = ppath + 'F4285ED40BE54FE9928DA6EDA9095C48?p_dimension_id='+ p1+ '&p_document_id='+ p2;
else if (dest == "11778")
window.location = 'http://www.faggruppeba.no';
else if (dest == "11794")
{ window.open('http://www.stalguiden.com/NFS.htm','_blank','scrollbars=no').focus();}
else if (dest == "11913")
window.location = ppath + '430B046FA59F4629ADB2E1E42AA285E8?p_dim='+ p1;
else if (dest == "11816")
{ window.open(ppath + 'C5B93C00273747F9AD1A8F4F1F00C73B?p_dimension_id='+ p1,'_print','scrollbars=yes,resizable=yes').focus();}
else if (dest == "12095")
window.location = 'http://www.nfogm.no/';
else if (dest == "22401")
window.location = ppath + '3C79135927734EA4AE75370014E64818?p_dim='+ p1;
else if (dest == "23381")
window.location = ppath + 'CB2C4C4535A743728E8D3C40B07EC15E?p_org='+ p1+ '&p_o='+ p2+ '&p_menu_id='+ p3+ '&p_submenu_id='+ p6+ '&p_kurs_kalender='+ p4;
else if (dest == "28486")
window.location = ppath + 'AB10818BC55B4C7983C666BFA3CE9D03?p_dim='+ p1+ '&p_d_i=-15130&p_d_c=&p_d_v='+ p1;
else if (dest == "28180")
window.location = ppath + 'F4285ED40BE54FE9928DA6EDA9095C48?p_document_id='+ p1;
else if (dest == "28181")
window.location = ppath + '17BBD956393F497AA95B9BE93417B48D?p_dim='+ p1;
else if (dest == "28957")
window.location = ppath + 'C9DA0B217CFD4EBAA857EFF336A7FA25?p_dim='+ p1;
else if (dest == "28964")
window.location = ppath + '3795120DDF304DF29CFB1D8C53FA9926?p_document_id='+ p1;
else if (dest == "29050")
window.location = ppath + 'BFF9F129D46244999F0554B3DF391C45?p_dim='+ p1;
else if (dest == "29451")
window.location = ppath + '38613979B6974C31A3E50FECA4FEBD6C?p_document_id='+ p1;
else if (dest == "29621")
window.location = ppath + 'AB10818BC55B4C7983C666BFA3CE9D03?p_dim='+ p1 + '&p_ms_skole=907';
else if (dest == "29625")
window.location = ppath + 'AB10818BC55B4C7983C666BFA3CE9D03?p_dim='+ p1 + '&p_my_sk_id=907&p_d_i=-28537&p_d_c=&p_d_v='+ p1;
else if (dest == "29634")
window.location = ppath + 'AB10818BC55B4C7983C666BFA3CE9D03?p_dim='+ p1 + '&p_my_sk_id=907&p_d_i=-15130&p_d_c=&p_d_v='+ p1+ '&p_d_i=-28537&p_d_c=&p_d_v='+ p1;
else if (dest == "29811")
window.location = ppath + 'DDFD40EDA81A441CB87A0084F7CB0B1B?p_document_id='+ p1;
else if (dest == "29886")
window.location = ppath + 'BF429A1830D249E6BD885E9EE9F804A7?p_document_id='+ p1;
else if (dest == "31196")
{ window.open(ppath + '92086AC1F26D4EC7B8548434ADF2945A','_form','width=1000,left=' + (screen.width-1000)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "31331")
window.location = ppath + '8DA2BBAB9AE5486390D19949F9199206';
else if (dest == "266419")
window.location = ppath + '1608A7360A3F4AD9807472696FC48FFC?p_d_i=-15130&p_d_c=&p_d_v='+ p1+ '&p_d_i=-28537&p_d_c=&p_d_v='+ p2;
else if (dest == "35970")
window.location = ppath + '0E23CB4AA50D49B4868B0A2923DD2912?p_document_id='+ p1;
else if (dest == "36291")
  window.open(url,"_blank","scrollbars=yes,resizable=yes,menubar=1,toolbar=yes");
else if (dest == "364075")
window.location = ppath + 'D3978C6569F9490DB45523AE0FFEEFD3?p_document_id='+ p1;
else if (dest == "364085")
window.location = ppath + '514508843FBD4290BDCE2F372295EDF5?p_document_id='+ p1;
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 == "468473")
window.location = ppath + '4C9EF2AB74AC0BA3E0409FC3E4D9227C?p_rom='+ p1;
else if (dest == "468666")
window.location = ppath + '4E4912B32064A965E040007F01001AD8?p_dim='+ p1+ '&p_dim2='+ p1;
else if (dest == "468687")
window.location = ppath + '4F4D4ABECD8ED644E0409FC3E4D96CD4?p_document_id='+ p1;
else if (dest == "739398")
window.location = 'http://www.teknakurs.no/portal/page/portal/student/sk';
else if (dest == "740059")
window.location = ppath + '54CD2AC4AB5A13C7E0409FC3E4D9017A?p_dim='+ p1+ '&p_d_i=-15130&p_d_c=&p_d_v='+ p1;
else if (dest == "740110")
window.location = ppath + 'A09D5B17A4934F429BC045AAA38384FB?p_d_i=-15130&p_d_c=&p_d_v='+ p1;
else if (dest == "740720")
window.location = ppath + '56122661F67D15A4E0409FC3E4D972CE?p_dim='+ p1;
else if (dest == "741613")
{ window.open('http://www.nmvf.no/','_blank','scrollbars=no').focus();}
else if (dest == "741631")
window.location = ppath + '5719A62C66074169E0409FC3E4D947B6';
else if (dest == "743383")
window.location = ppath + '59FF533308174DCFE0409FC3E4D93658?p_document_id='+ p1;
else if (dest == "743392")
window.location = ppath + '59FBBB50896F4575E0409FC3E4D96C76?p_dim='+ p1;
else if (dest == "743393")
window.location = ppath + '5A006B18947AFC0FE0409FC3E4D94ADF?p_dim='+ p1;
else if (dest == "743525")
window.location = ppath + '5A4FA8AB9B80B25EE0409FC3E4D93688?p_document_id='+ p1;
else if (dest == "743571")
window.location = ppath + '5A613524DE6F37ACE0409FC3E4D97861?p_query='+ p1;
else if (dest == "743619")
window.location = ppath + '5A67855E07F4F008E0409FC3E4D97261?p_dim='+ p1;
else if (dest == "743918")
window.location = ppath + '5A4F23393825B48EE0409FC3E4D92C45?p_document_id='+ p1;
else if (dest == "743924")
window.location = ppath + '5A4FCB2B95CA82FEE0409FC3E4D938D1?p_dim='+ p1;
else if (dest == "744362")
window.location = ppath + '5C20E7D8E8027996E0409FC3E4D91F74?p_dim='+ p1 + '&p_kurs_kalender=80404';
else if (dest == "744392")
window.location = ppath + '5C30BE15EA436046E0409FC3E4D9433B?p_document_id='+ p1;
else if (dest == "744648")
window.location = ppath + '5CBC285C3BF1B108E0409FC3E4D94620?p_document_id='+ p1;
else if (dest == "744815")
window.location = ppath + '5D2569D7BCF7BEC1E0409FC3E4D92502?p_kp_id='+ p1;
else if (dest == "745449")
window.location = ppath + '2C76C432F030490987F78F6F0D729F53?p_document_id='+ p1;
else if (dest == "745709")
window.location = ppath + '605D1059EA97795CE0409FC3E4D9429A?p_dim='+ p1;
else if (dest == "12858")
window.location = ppath + 'CBFCFC7201D34BF9BB1694719595F14F?p_dim='+ p1;
else if (dest == "9749")
window.location = ppath + 'E370B05830AB49AF8392BBB129EF2E0D?p_dim='+ p1;
else if (dest == "30123")
window.location = ppath + '4F930D6222104BA7BD0329ED95A5AE31?p_org='+ p1+ '&p_o='+ p2+ '&p_menu='+ p3+ '&p_submenu='+ p6;
else if (dest == "13862")
window.location = ppath + '4D6225D8BB294FB0842DCEE6066A88C3?p_dim='+ p2+ '&p_kurs_kalender='+ p4;
else if (dest == "17828")
window.location = ppath + 'AB10818BC55B4C7983C666BFA3CE9D03?p_dim='+ p1;
else if (dest == "492126")
window.location = ppath + 'student/sk/arrangementer/vis_kurs?p_document_id='+ p1+ '&p_d_i=-11170&p_d_c=&p_d_v='+ p1;
else if (dest == "492169")
{ window.open(ppath + 'tekna/innmelding/kategori_B_C_D?p_style_id=20433','_parent','scrollbars=no').focus();}
else if (dest == "732453")
window.location = ppath + 'tekna/teknamener/klima/debatt/detaljer?p_document_id='+ p1;
else if (dest == "732518")
window.location = ppath + 'tekna/teknamener/klima/vis_klimasak?p_document_id='+ p1;
else if (dest == "737581")
window.location = ppath + 'tekna/teknamener/klima?p_dim='+ p1;
else if (dest == "742581")
window.location = ppath + '5808FAC0D0F8D98CE0409FC3E4D90D63?p_document_id='+ p1;
else if (dest == "744272")
window.location = ppath + '5BF87AE8DBC91FF2E0409FC3E4D92726?p_document_id='+ p1;
else if (dest == "745144")
window.location = ppath + '16128038D27F4F72A78F5DF0F49DEA8B';
else if (dest == "746371")
window.location = ppath + '605D1059EA97795CE0409FC3E4D9429A?p_document_id='+ p1;
else if (dest == "746807")
window.location = ppath + '605C92C30E4B83E1E0409FC3E4D938E3?p_action_sok=SEARCH&p_kp_fagomr=ELE&p_dim='+ p1;
else if (dest == "746901")
window.location = ppath + '61B2D59EFAAF46F9E0409FC3E4D96EC0?p_dim='+ p1;
else if (dest == "747080")
window.location = ppath + '6217F979ACEE95A3E0409FC3E4D916F0?p_dim='+ p1;
else if (dest == "747218")
window.location = ppath + '627BA9ACD18D93EEE0409FC3E4D9768A?p_document_id='+ p1;
else if (dest == "771951")
window.location = ppath + '38613979B6974C31A3E50FECA4FEBD6C?p_document_id='+ p1;
else if (dest == "772319")
window.location = ppath + '6615FDCBC1DCA504E0409FC3E4D9251A?p_document_id='+ p1;
else if (dest == "9457" || dest=="SHOW_IN_CONTEXT")
{ window.open('http://www.teknakurs.no/ikbStudio/pls/ikb_portlet_formatting_set.show_in_context?p_guid='+ p1+ '&p_app='+ p2,'_blank','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 == "9460" || dest=="SUBSYSTEM")
{ window.open('http://www.teknakurs.no/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 == "10159" || dest=="TITLE_REDIRECT")
window.location = 'http://www.teknakurs.no/portal/pls/portal/ikb.portlet_manage_redirect.redirect?p_document_id='+ p1+ '&p_site_id='+ p2+ '&p_target_id='+ p3+ '&p_domain_name='+ p5+ '&p_document_type_id='+ p4 + '&p_debug=0';
else if (dest == "468704")
window.location = ppath + '4F3E1F88688C42ADE040007F01000D57?p_document_id='+ p1;
else if (dest == "742582")
window.location = ppath + '5897BC36A8D44871E0409FC3E4D932FA?p_document_id='+ p1;
else if (dest == "745480")
window.location = ppath + '5FCE5E52D4CE32D0E0409FC3E4D92FEE?test_doc_id='+ p1;
else if (dest == "746352")
window.location = ppath + '4C14DE7B1BE0565EE0409FC3E4D91E77?p_query='+ p1;
else if (dest == "747962")
window.location = ppath + '644EC57F1E71F5B9E0409FC3E4D93844?p_kamp='+ p1+ '&p_dim='+ p1 + '&p_submeny=9546';
else if (dest == "772527")
window.location = ppath + '9484ECB78901448A81C05FFF014E5A7D?p_dim='+ p1;
else if (dest == "774905")
window.location = ppath + '7077666CD22D54C5E0409FC3E4D97FDF?p_dim='+ p1;
else if (dest == "773856")
window.location = ipath + 'ikbshop/ordre?p_document_id='+ p1;
else if (dest == "776805")
window.location = ppath + '738A35A9EC56AA06E0409FC3E4D9246B?p_dim='+ p1 + '&p_submenu_id=468572';
else if (dest == "776941")
window.location = ppath + '74E55BDEB6D4F4DBE0409FC3E4D9217B';
else if (dest == "777008")
window.location = ppath + '40DC7D11D1984CC2BDD575AB1AF5D34D?p_document_id='+ p1;
else if (dest == "777018")
window.location = ppath + 'C93E633F640F4D718304F8EA1FCEFC62';
else if (dest == "777034")
window.location = ppath + '720877FD3CDEBA47E0409FC3E4D9766C';
else if (dest == "777035")
window.location = ppath + '721C9CA5DB5CEAEBE0409FC3E4D95AF8?p_dim='+ p1;
else if (dest == "777063")
window.location = ppath + '70D0E4E4156B47E0BA0DE5CBAA5E5FF1';
else if (dest == "777189")
{ window.open(ppath + '75BDA00D3551F753E0409FC3E4D963B0?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 == "17407")
{ window.open(ipath + 'iknowbook/versioned?p_document_id='+ p1+ '&p_version_no='+ p2,'versjonert_dokument','scrollbars=yes,resizable=yes').focus();}
else if (dest == "17410")
{ window.open(ipath + 'iknowbook/printer-friendly?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 == "17422")
window.location = ipath + 'iknowbook/ajax/books';
else if (dest == "468489")
window.location = ppath + '19ABE845C093464995302A1A74FEF630?p_dim='+ p1;
else if (dest == "741658")
{ window.open(ppath + '572BA1AB9E787A27E0409FC3E4D9194E?p_document_id='+ p1,'_parent','scrollbars=no').focus();}
else if (dest == "744245")
window.location = ppath + '5BE5A50E741F5316E0409FC3E4D940E8?p_document_id='+ p1;
else if (dest == "744300")
window.location = ppath + '5BF69E723E7F427AE0409FC3E4D97F3C?p_document_id='+ p1;
else if (dest == "747906")
window.location = ppath + '644EC57F1E71F5B9E0409FC3E4D93844?p_submeny='+ p1+ '&p_kamp='+ p2+ '&p_dim='+ p3;
else if (dest == "777002")
window.location = ppath + '75413D0ED92DFD31E0409FC3E4D92A19?p_document_id='+ p1;
else if (dest == "777017")
window.location = ppath + '753289D859AC566AE0409FC3E4D927CC?p_dim='+ p1;
else if (dest == "777037")
window.location = ppath + '7272C2C9525CBE6CE0409FC3E4D91FAA';
else if (dest == "777608")
window.location = ppath + '76E8344164D5EB3AE0409FC3E4D9655E?p_dim='+ p1;
else if (dest == "777670")
window.location = ppath + '76FDA0DE774F7C94E0409FC3E4D93429?p_doc_id='+ p1;
else if (dest == "778222")
window.location = ppath + '78160EFA819B908FE0409FC3E4D921F6?p_document_id='+ p1;
else if (dest == "778220")
window.location = ppath + '78160EFA819B908FE0409FC3E4D921F6?p_dim='+ p1;
else if (dest == "778397")
window.location = ppath + 'BF429A1830D249E6BD885E9EE9F804A7?p_document_id='+ p1;
else if (dest == "778708")
{ window.open(ppath + '4F2DEF3655494051A7847639E02CD471','_parent','scrollbars=no').focus();}
else if (dest == "778709")
{ window.open(ppath + 'C5769D48F705491AB49EDC94ACE7666D','_parent','scrollbars=no').focus();}
else if (dest == "778710")
window.location = ppath + '36B38815E76893DBE040007F0100270A?p_document_id='+ p1+ '&p_version_no='+ p2;
else if (dest == "778711")
window.location = ipath + 'ikbdemo/contentpage?p_dimension_id='+ p1;
else if (dest == "778712")
window.location = ipath + 'xnext/accesspage/frontpage';
else if (dest == "778713")
window.location = ipath + 'xnext/accesspage/underconstruction';
else if (dest == "778714")
window.location = ipath + 'xnext/accesspage/profile';
else if (dest == "778715" || dest=="XNEXT_PUBLISH")
{ window.open(ipath + 'xnext/accesspage/publish','MinPopup','height=600,top=' + (screen.height-600)/2 + ',width=800,left=' + (screen.width-800)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "778716")
window.location = ipath + 'xnext/accesspage/showcontent?p_document_id='+ p1;
else if (dest == "778717")
window.location = ipath + 'xnext/accesspage/customer?p_dimension_id='+ p1;
else if (dest == "778718" || dest=="XNEXT_SEARCH")
window.location = ipath + 'xnext/accesspage/search?p_query='+ p1+ '&p_search_id='+ p2 + '&p_operation=New';
else if (dest == "778719")
window.location = ipath + 'xnext/ajax/form/profile/settings?p_document_id='+ p1;
else if (dest == "741652")
window.location = ppath + '572837864E1446CCE0409FC3E4D9569D';
else if (dest == "743390")
window.location = ppath + '59FBBF2804C56A14E0409FC3E4D96CF8?p_document_id='+ p1;
else if (dest == "743391")
window.location = ppath + '5A00674E54992CB7E0409FC3E4D94A48?p_dim='+ p1;
else if (dest == "743899")
window.location = ppath + '59FFE6F11F5000D3E0409FC3E4D94193?p_dim='+ p1;
else if (dest == "745759")
window.location = '';
else if (dest == "772330")
window.location = ppath + '606F19064C4FCB2BE0409FC3E4D921B7?p_dim='+ p1;
else if (dest == "773975")
window.location = '';
else if (dest == "774320")
{ window.open(ppath + '556DEC6F2797A42CE0409FC3E4D94CFB','_blank','scrollbars=no').focus();}
else if (dest == "776807")
window.location = ppath + '738A7625C7A6036DE0409FC3E4D9293D?p_dim='+ p1 + '&p_submenu_id=468573';
else if (dest == "776808")
window.location = ppath + '738A7FDAEF630E5EE0409FC3E4D92959?p_dim='+ p1 + '&p_submenu_id=468574';
else if (dest == "17451")
{ window.open(ipath + 'iknowbook/section?p_document_id='+ p1+ '&p_subdoc_id='+ p2,'_iknowbook','height=800,top=' + (screen.height-800)/2 + ',width=1100,left=' + (screen.width-1100)/2 + ',scrollbars=yes,resizable=yes,menubar=1,toolbar=yes').focus();}
else if (dest == "17696" || dest=="IKNOWBOOK_BOOK_POUP_TAB_EDIT")
{ window.open(ipath + 'iknowbook/forside?p_document_id='+ p1 + '&tab=1','_iknowbook','height=800,top=' + (screen.height-800)/2 + ',width=1100,left=' + (screen.width-1100)/2 + ',scrollbars=yes,resizable=yes,menubar=1,toolbar=yes').focus();}
else if (dest == "17694" || dest=="IKNOWBOOK_SECTION_POPUP")
{ window.open(ipath + 'iknowbook/section?p_subdoc_id='+ p2+ '&p_document_id='+ p1,'_iknowbook','height=800,top=' + (screen.height-800)/2 + ',width=1100,left=' + (screen.width-1100)/2 + ',scrollbars=yes,resizable=yes,menubar=1,toolbar=yes').focus();}
else if (dest == "17843")
{ window.open(ipath + 'iknowbook/publish','MinPopup','height=600,top=' + (screen.height-600)/2 + ',width=800,left=' + (screen.width-800)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "17416")
window.location = ipath + 'iknowbook/ajax/search?p_document_id='+ p1;
else if (dest == "17448" || dest=="IKNOWBOOK_BOOK_POPUP")
{ window.open(ipath + 'iknowbook/forside?p_document_id='+ p1,'_iknowbook','height=800,top=' + (screen.height-800)/2 + ',width=1100,left=' + (screen.width-1100)/2 + ',scrollbars=yes,resizable=yes,menubar=1,toolbar=yes').focus();}
else if (dest == "17698" || dest=="IKNOWBOOK_SECTION_POPUP_EDIT_R")
{ window.open(ipath + 'iknowbook/section?p_document_id='+ p1+ '&p_subdoc_id='+ p2 + '&tab=1','_iknowbook','height=800,top=' + (screen.height-800)/2 + ',width=1100,left=' + (screen.width-1100)/2 + ',scrollbars=yes,resizable=yes,menubar=1,toolbar=yes').focus();}
else if (dest == "17707" || dest=="IKNOWBOOK_PRINTER_CHOSEN_SECT")
{ window.open(ipath + 'iknowbook/printer-friendly?p_document_id='+ p1+ '&p_documents='+ p2,'_printout','height=800,top=' + (screen.height-800)/2 + ',width=1100,left=' + (screen.width-1100)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "777398")
window.location = ppath + 'B1A5E7E5BF3449A98CDFB4AE8BA9C5F6?abo=update&a=b';
else if (dest == "777904")
window.location = ppath + '547BEF4261108DD8E0409FC3E4D90292?p_dim2='+ p1;
else if (dest == "13570")
{ window.open('http://www.tekna.no/portal/page/portal/fagmiljo/nfb/innmelding','Innmelding','height=500,top=' + (screen.height-500)/2 + ',width=800,left=' + (screen.width-800)/2 + ',scrollbars=no,resizable=yes').focus();}
else if (dest == "13583")
window.location = ppath + 'F4285ED40BE54FE9928DA6EDA9095C48?p_dim='+ p1+ '&p_document_id='+ p1;
else if (dest == "13682")
window.location = ppath + 'F3690C0079B842B79F3C389CDA35A8AC?p_document_id='+ p1;
else if (dest == "13722")
window.location = ppath + 'E9CC89B234524FB6A1D1E190FDBC47A2?p_dim='+ p1;
else if (dest == "13757")
window.location = ppath + 'B7371356A1AC4B88B0CDCCFD48559EEC?p_org=11617&p_d_i=-9701&p_d_c=&p_d_v=9548&p_submenu=12666&p_menu=12680&p_kurs_kalender=89001&p_type=TF&p_dim=746794';
else if (dest == "14185")
window.location = ppath + '5557434F9A1B4B679177C60EB966C102?p_document_id='+ p1;
else if (dest == "14302")
{ window.open(ppath + 'AB10818BC55B4C7983C666BFA3CE9D03?p_styleset_id=10179&p_form_back_url=/portal/page/portal/tekna/admin','_parent','scrollbars=no').focus();}
else if (dest == "14380")
window.location = ppath + '7387B96C08C7BEE7E0409FC3E4D9759D?p_document_id='+ p1;
else if (dest == "14488")
window.location = ppath + 'AB10818BC55B4C7983C666BFA3CE9D03?p_album_id='+ p1;
else if (dest == "14574")
window.location = ppath + '35F6E64591584CCAA9D0F98FF2EB7D9E?p_dimension_id='+ p1;
else if (dest == "14904")
window.location = ppath + 'AB10818BC55B4C7983C666BFA3CE9D03?p_dim='+ p1;
else if (dest == "14906")
window.location = ppath + 'AB10818BC55B4C7983C666BFA3CE9D03?p_dim='+ p1;
else if (dest == "14964")
window.location = ppath + 'AB10818BC55B4C7983C666BFA3CE9D03?p_document_id='+ p1;
else if (dest == "14969")
window.location = ppath + 'B22FAE20AC254C1597F267243DF27B1B?p_dim='+ p1+ '&p_d_i=-15130&p_d_c=&p_d_v='+ p1;
else if (dest == "14984")
window.location = ppath + 'AB10818BC55B4C7983C666BFA3CE9D03?p_document_id='+ p1;
else if (dest == "15151")
window.location = ppath + 'FF9DEC2741FE4D41BF6452A558159C2C?p_dim='+ p1;
else if (dest == "15100")
{ window.open(ppath + 'AB10818BC55B4C7983C666BFA3CE9D03?p_style_id=15058&p_document_id='+ p1,'_popup','height=500,top=' + (screen.height-500)/2 + ',width=650,left=' + (screen.width-650)/2 + ',scrollbars=no,resizable=yes').focus();}
else if (dest == "15292")
window.location = ppath + '324A6FC81BE6475E8D07BC96830EDE96?p_document_id='+ p1;
else if (dest == "15507")
window.location = ppath + '7244F283F20346EFADD12399095DACFB?p_document_id='+ p1;
else if (dest == "15550")
window.location = ppath + 'A0255B7F73254C62BED2B39D166FAE02?p_doc_id='+ p1+ '&p_parent_id='+ p1+ '&p_d_i=-11170&p_d_c=&p_d_v='+ p1;
else if (dest == "15608")
window.location = ppath + 'BEDC2253DE6E4EA0BFDBF148C4D760DC?p_dim='+ p1;
else if (dest == "15917")
{ window.open(ppath + 'AB10818BC55B4C7983C666BFA3CE9D03?p_styleset_id=15913&p_form_back_url=/portal/page/portal/student/din%20side','_parent','scrollbars=no').focus();}
else if (dest == "16152")
window.location = ppath + 'AB10818BC55B4C7983C666BFA3CE9D03?p_dim='+ p1;
else if (dest == "16597")
window.location = ppath + '18B1A52FFA7E4DC6995101CCD1F0FACF?p_query='+ p1+ '&p_search_id='+ p2 + '&p_operation=New';
else if (dest == "17075")
window.location = ppath + 'FA2D57E453654BB9A55F44FA339D8B0A?p_dim='+ p1;
else if (dest == "17841")
window.location = ppath + '52CA19767BDC4543B9621A3A54F9B5BA?p_org='+ p1+ '&p_o='+ p2+ '&p_menu_id='+ p3+ '&p_submenu_id='+ p6+ '&p_kurs_kalender='+ p4;
else if (dest == "19034")
{ window.open(ppath + '9019C866C6DE48E5BC1BDA6E195F5B44?p_dimension_id='+ p5,'_parent','scrollbars=no').focus();}
else if (dest == "19037")
window.location = ppath + '4FB872C83DFF4C1D84F6F2C7ED880ED4';
else if (dest == "19181")
window.location = ppath + 'AE182E2AB0654F9DBDE75CA168B6F6C8?p_dim='+ p1;
else if (dest == "19741")
window.location = ppath + 'C851102C6E9149D7A9BE5BDC012368D9?p_document_id='+ p1;
else if (dest == "19767")
window.location = ppath + '4FB872C83DFF4C1D84F6F2C7ED880ED4?p_document_id='+ p1;
else if (dest == "19823")
{ window.open(ppath + '2720F8304E4248359D4C66C56A8E6E1F?p_document_id='+ p1,'_blank','scrollbars=no').focus();}
else if (dest == "20796")
window.location = ppath + '082715FCF2574B319D07193A9F1BC885?p_dim='+ p1;
else if (dest == "780400")
window.location = ppath + '38613979B6974C31A3E50FECA4FEBD6C?p_document_id='+ p1;
else if (dest == "782942")
window.location = ipath + 'vitalt/artikkel?p_dim='+ p1 + '&p_kat=781486';
else if (dest == "781845")
window.location = ppath + '7F408DC4094FDE27E0409FC3E4D938C8?p_dim='+ p1;
else if (dest == "782918")
window.location =  gen_target_check_url(url) + 'p_kat=781486';
else if (dest == "783082")
window.location = ipath + 'vitalt/redirect-artikkel?p_document_id='+ p1;
else if (dest == "782631")
window.location = ipath + 'vitalt/sok?p_query='+ p1;
else if (dest == "783282")
window.location = ppath + '841916AB766BBCC0E0409FC3E4D9718E?p_dim='+ p1;
else if (dest == "783579")
window.location = ppath + '84E6FC1E066D665BE0409FC3E4D96AE8?p_dim='+ p1;
else if (dest == "778765")
window.location = ipath + 'xnext/accesspage/search?p_dimension_id='+ p1 + '&p_operation=New&searchkey=XNEXT_SEARCH_PERSONS_CORE_COMPETENCE';
else if (dest == "778767")
window.location = ipath + 'xnext/accesspage/search?p_dimension_id='+ p1 + '&p_operation=New&searchkey=XNEXT_SEARCH_PERSONS_CUSTOMER';
else if (dest == "778768")
window.location = ipath + 'xnext/accesspage/search?p_dimension_id='+ p1 + '&p_operation=New&searchkey=XNEXT_SEARCH_PERSONS_PROCESS';
else if (dest == "778769")
window.location = ipath + 'xnext/accesspage/search?p_dimension_id='+ p1 + '&p_operation=New&p_search_id=17019';
else if (dest == "778770")
window.location = ipath + 'xnext/accesspage/qms';
else if (dest == "779568")
window.location = ppath + '7A3A9784E5F2AFFAE0409FC3E4D95F71?p_document_id='+ p2;
else if (dest == "780413")
window.location = ppath + '7B3E334CCC1457CDE0409FC3E4D925BC';
else if (dest == "781764")
window.location = ipath + 'vitalt/artikkel?p_dim='+ p1+ '&p_kat='+ p1;
else if (dest == "783281")
window.location = ppath + '841916AB763ABCC0E0409FC3E4D9718E?p_dim='+ p1;
else if (dest == "783315")
window.location = ppath + '841E44E4263E9848E0409FC3E4D950B0?p_dim='+ p1;
else if (dest == "784993" || dest=="INTRA_TARGET_BOOK")
window.location = ipath + 'tekna/intranett/iknowbook?p_document_id='+ p1;
else if (dest == "785023" || dest=="INTRA_TARGET_BOOK_SECTION")
window.location = ipath + 'tekna/intranett/iknowbooksection?p_subdoc_id='+ p2+ '&p_document_id='+ p1;
else if (dest == "785030" || dest=="INTRA_TARGET_BOOK_EDIT")
window.location = ipath + 'tekna/intranett/iknowbook?p_document_id='+ p1 + '&tab=1';
else if (dest == "785032" || dest=="INTRA_TARGET_BOOK_SECTION_EDIT")
window.location = ipath + 'tekna/intranett/iknowbooksection?p_subdoc_id='+ p2+ '&p_document_id='+ p1 + '&tab=1';
else if (dest == "785034" || dest=="INTRA_TARGET_BOOK_DISC")
window.location = ipath + 'tekna/intranett/iknowbook?p_document_id='+ p1 + '&tab=3';
else if (dest == "785067")
window.location = ipath + 'tekna/intranett/iknowbook?p_document_id=799897';
else if (dest == "785073")
window.location = ipath + 'tekna/intranett/iknowbooksection?p_document_id=799897';
else if (dest == "778720")
window.location = ipath + 'xnext/accesspage/profile/settings';
else if (dest == "778721")
window.location = ipath + 'xnext/ajax/form/profile/status?p_document_id='+ p1;
else if (dest == "778722")
window.location = ipath + 'xnext/accesspage/product?p_dimension_id='+ p1;
else if (dest == "778723" || dest=="XNEXT_SUBJECT")
window.location = ipath + 'xnext/accesspage/subject?p_dimension_id='+ p1;
else if (dest == "778725")
window.location = ipath + 'xnext/accesspage/search?p_query='+ p1 + '&p_operation=reset&searchkey=XNEXT_SEARCH_ADVANCED_ALL_CONTENT';
else if (dest == "778724")
window.location = ipath + 'xnext/accesspage/organizationunit?p_dimension_id='+ p1;
else if (dest == "778726")
window.location = ipath + 'xnext/accesspage/showcontent/customer?p_document_id='+ p2+ '&p_dimension_id='+ p1;
else if (dest == "778727")
window.location = ipath + 'xnext/accesspage/showcontent/product?p_document_id='+ p2+ '&p_dimension_id='+ p1;
else if (dest == "778728")
window.location = ipath + 'xnext/accesspage/showcontent/organization?p_document_id='+ p2+ '&p_dimension_id='+ p1;
else if (dest == "778729")
window.location = ipath + 'xnext/accesspage/showcontent/subject?p_document_id='+ p2+ '&p_dimension_id='+ p1;
else if (dest == "778731")
window.location = ipath + 'xnext/accesspage/resources/allcontent?p_dimension_id='+ p1;
else if (dest == "778730")
window.location = ipath + 'xnext/accesspage/customers/log';
else if (dest == "778735")
window.location = ipath + 'xnext/accesspage/resources/discussionforum?p_dimension_id='+ p1;
else if (dest == "778733")
window.location = ipath + 'xnext/accesspage/workspace?p_document_id='+ p1;
else if (dest == "778736")
window.location = ipath + 'xnext/accesspage/resources/activity';
else if (dest == "778732")
window.location = ipath + 'xnext/accesspage/showcontent/discussionforum?p_document_id='+ p1+ '&p_dimension_id='+ p2;
else if (dest == "778737")
window.location = ipath + 'xnext/accesspage/showcontent/activity?p_document_id='+ p2;
else if (dest == "778734")
window.location = ipath + 'xnext/accesspage/showcontent/bulletinboard?p_document_id='+ p2;
else if (dest == "778738")
{ window.open(ipath + 'xnext/accesspage/comment?p_comment_on='+ p1,'MyComment','height=500,top=' + (screen.height-500)/2 + ',width=700,left=' + (screen.width-700)/2 + ',scrollbars=yes').focus();}
else if (dest == "778741")
window.location = ipath + 'xnext/accesspage/workspaces?p_dimension_id='+ p1;
else if (dest == "778740" || dest=="IKB_PROCESS_AREA")
window.location = ipath + 'xnext/accesspage/qms/area?p_dimension_id='+ p1;
else if (dest == "778757")
window.location = 'about:blank?p_document_id='+ p1;
else if (dest == "778742" || dest=="IKB_PROCESS_DETAILS")
window.location = ipath + 'xnext/accesspage/qms/process?p_dimension_id='+ p1;
else if (dest == "778743")
window.location = ipath + 'xnext/accesspage/qms/process?p_dimension_id='+ p1;
else if (dest == "778744")
window.location = ipath + 'xnext/accesspage/qms/process/content?p_dimension_id='+ p1+ '&p_document_id='+ p2;
else if (dest == "778745")
window.location = ipath + 'xnext/accesspage/qms/area/content?p_dimension_id='+ p1+ '&p_document_id='+ p2;
else if (dest == "778746")
window.location = ipath + 'xnext/accesspage/news/archive';
else if (dest == "778747")
window.location = ipath + 'xnext/accesspage/profile/workspace?p_document_id='+ p1;
else if (dest == "778748")
window.location = ipath + 'xnext/accesspage/profile/documents?p_document_id='+ p1;
else if (dest == "778749")
window.location = ipath + 'xnext/accesspage/profile/task?p_document_id='+ p1;
else if (dest == "778751")
window.location = ipath + 'xnext/accesspage/profile/postit';
else if (dest == "778750")
window.location = ipath + 'xnext/accesspage/person/profile?p_document_id='+ p1;
else if (dest == "778752")
window.location = ipath + 'xnext/accesspage/workspace?p_document_id='+ p1+ '&p_dimension_id='+ p2;
else if (dest == "778754")
window.location = ipath + 'xnext/accesspage/workspace/document/showcontent?p_workdoc='+ p2+ '&p_document_id='+ p1;
else if (dest == "778756")
window.location = ipath + 'xnext/accesspage/workspace/tasks/showcontent?p_workdoc='+ p2+ '&p_document_id='+ p1;
else if (dest == "778758")
window.location = ipath + 'xnext/accesspage/workspace/documents?p_document_id='+ p1+ '&p_dimension_id='+ p2;
else if (dest == "778759")
window.location = ipath + 'xnext/accesspage/workspace/tasks?p_document_id='+ p1+ '&p_dimension_id='+ p2;
else if (dest == "778760")
window.location = ipath + 'xnext/accesspage/qms/area/issue?p_dimension_id='+ p1+ '&p_document_id='+ p2;
else if (dest == "778761")
window.location = ipath + 'xnext/accesspage/qms/process/issue?p_dimension_id='+ p1+ '&p_document_id='+ p2;
else if (dest == "778762")
{ window.open(ipath + 'xnext/accesspage/print?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 == "778763")
window.location = ipath + 'xnext/accesspage/showcontent/vacancy?p_document_id='+ p2;
else if (dest == "778764")
window.location = ipath + 'xnext/accesspage/showcontent/news?p_document_id='+ p1;
else if (dest == "778766")
window.location = ipath + 'xnext/accesspage/search?p_dimension_id='+ p1 + '&p_operation=New&searchkey=XNEXT_SEARCH_PERSONS_INTEREST_AREA';
else if (dest == "784800")
window.location = ipath + 'enhet/forside?p_o='+ p2;
else if (dest == "784953")
window.location = ipath + 'intranett/sokeresultat_ansatte?p_query='+ p1;
else if (dest == "785069")
window.location = ipath + 'tekna/intranett/iknowbook?p_document_id=789988';
else if (dest == "785070")
window.location = ipath + 'tekna/intranett/iknowbook?p_document_id=787624';
else if (dest == "785071")
window.location = ipath + 'tekna/intranett/iknowbooksection?p_document_id=789988';
else if (dest == "785072")
window.location = ipath + 'tekna/intranett/iknowbooksection?p_document_id=787624';
else if (dest == "783353")
window.location = ipath + 'enhet/forside?p_o='+ p2+ '&p_m='+ p6;
else if (dest == "785113")
window.location = ipath + 'tekna/intranett/iknowbook?p_document_id=799998';
else if (dest == "785115")
window.location = ipath + 'tekna/intranett/iknowbooksection?p_document_id=799998';
else if (dest == "785118")
window.location = ipath + 'tekna/intranett/vis/personlignotat?p_document_id='+ p1;
else if (dest == "17249" || dest=="CS_SEARCH")
window.location = ipath + 'cs/search?p_query='+ p1+ '&p_search_id='+ p2 + '&p_operation=New';
else if (dest == "17269")
window.location = ipath + 'cs/showdoc?p_document_id='+ p1+ '&p_style_id='+ p2;
else if (dest == "42495")
{ window.open(ipath + 'cs/form','_parent','scrollbars=no').focus();}
else if (dest == "42751")
window.location = ipath + 'cs/docarch?p_dimension_id='+ p1+ '&p_document_id='+ p2;
else if (dest == "43452")
window.location = ipath + 'cs/tools/duplicates/details?p_document_id='+ p1+ '&p_d_i=-201&p_d_c=&p_d_v='+ p1;
else if (dest == "43464")
window.location = ipath + 'cs/imgarch?p_dimension_id='+ p1;
else if (dest == "43480")
{ window.open(ipath + 'cs/form/image','_editimage','height=520,top=' + (screen.height-520)/2 + ',width=615,left=' + (screen.width-615)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "50354" || dest=="DIMNAV")
{ window.open(ipath + 'cs/component/selectlist','_dimselector','height=315,top=' + (screen.height-315)/2 + ',width=600,left=' + (screen.width-600)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "50579")
{ window.open(ipath + 'cs/component/picklist-s','_picklist_s','height=550,top=' + (screen.height-550)/2 + ',width=900,left=' + (screen.width-900)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "50801")
{ window.open(ipath + 'cs/component/picklist-m','_piclist_m','height=550,top=' + (screen.height-550)/2 + ',width=975,left=' + (screen.width-975)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "51241")
{ window.open('http://www.teknakurs.no/ikbStudio/metadata/infotypes','_blank','scrollbars=yes,resizable=yes,menubar=1,toolbar=yes').focus();}
else if (dest == "51471")
{ window.open(url,'_blank','scrollbars=yes,resizable=yes,menubar=1,toolbar=yes').focus();}
else if (dest == "786183")
window.location = ppath + 'BEDC2253DE6E4EA0BFDBF148C4D760DC?p_document_id=5970';
else if (dest == "786189")
window.location = ppath + 'BEDC2253DE6E4EA0BFDBF148C4D760DC?p_document_id='+ p1;
else if (dest == "786191")
window.location = ppath + 'BEDC2253DE6E4EA0BFDBF148C4D760DC?p_document_id='+ p1;
else if (dest == "786193")
window.location = ppath + 'BEDC2253DE6E4EA0BFDBF148C4D760DC?p_document_id='+ p1;
else if (dest == "786222")
window.location = ppath + 'FF9DEC2741FE4D41BF6452A558159C2C?p_dim=13988';
else if (dest == "786324")
{ window.open('http://www.tekna.no/gila','_blank','scrollbars=no').focus();}
else if (dest == "786257")
{ window.open('http://www.jordskjelvtekniskforening.no/','_blank','scrollbars=no').focus();}
 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/ikb.portlet_manage_redirect.redirect?p_document_id="+ escape(documentid)+ "&p_site_id="+ escape(siteid)+ "&p_target_id="+ escape(viewertarget)+ "&p_domain_name="+ escape(domainid)+ "&p_document_type_id="+ escape(documenttype) + "&p_debug="+ escape(viewdebug) + "&p_version_no="+ escape(versionno);
		 var code = jQuery.ajax({
		  url: run_url,
		  async: false
		 }).responseText;
		 if (code != null)
			if (viewdebug == "1")
				alert(code);
			else
				eval(code);

             return false;
             }
            
