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 : 23.02.2012 05:10:04 DIFF-IGNORE
if (! window.focus) return true;

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 = '/ORACLE-PORTAL';
var ipath = '/ikbViewer/page/';
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 == "8522")
window.location =  gen_target_check_url(url) + 'p_operation=New';
else if (dest == "7814" || dest=="DEV_DESKTOP")
{ window.open('/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 == "51471")
{ window.open(url,'_blank','scrollbars=yes,resizable=yes,menubar=1,toolbar=yes').focus();}
else if (dest == "9457" || dest=="SHOW_IN_CONTEXT")
{ window.open('/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('/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.hoeghautoliners.com/ikbViewer/pls/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 == "10257")
window.location = ipath + 'ikbdemo/contentpage?p_dimension_id='+ p1;
else if (dest == "15045")
window.location = ipath + 'xnext/accesspage/homexx';
else if (dest == "15046")
window.location = ipath + 'xnext/accesspage/underconstruction';
else if (dest == "15117")
window.location = ipath + 'xnext/accesspage/profile';
else if (dest == "15152" || 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 == "15168")
window.location = ipath + 'xnext/accesspage/showcontent?p_document_id='+ p1;
else if (dest == "15238")
window.location = ipath + 'xnext/accesspage/customer?p_dimension_id='+ p1;
else if (dest == "15342" || dest=="XNEXT_SEARCH")
window.location = ipath + 'xnext/accesspage/search?p_searchstring='+ p1+ '&p_search_id='+ p2 + '&p_operation=New';
else if (dest == "15371")
window.location = ipath + 'xnext/ajax/form/profile/settings?p_document_id='+ p1;
else if (dest == "15377")
window.location = ipath + 'xnext/accesspage/profile/settings';
else if (dest == "15387")
window.location = ipath + 'xnext/ajax/form/profile/status?p_document_id='+ p1;
else if (dest == "15401")
window.location = ipath + 'xnext/accesspage/product?p_dimension_id='+ p1;
else if (dest == "15410" || dest=="XNEXT_SUBJECT")
window.location = ipath + 'xnext/accesspage/subject?p_dimension_id='+ p1;
else if (dest == "15640")
window.location = ipath + 'xnext/accesspage/search?p_searchstring='+ p1 + '&p_operation=reset&p_search_id=15218';
else if (dest == "15492")
window.location = ipath + 'xnext/accesspage/organisationunit?p_dimension_id='+ p1;
else if (dest == "15663")
window.location = ipath + 'xnext/accesspage/showcontent/customer?p_document_id='+ p2+ '&p_dimension_id='+ p1;
else if (dest == "15678")
window.location = ipath + 'xnext/accesspage/showcontent/product?p_document_id='+ p2+ '&p_dimension_id='+ p1;
else if (dest == "15679")
window.location = ipath + 'xnext/accesspage/showcontent/organisation?p_document_id='+ p2+ '&p_dimension_id='+ p1;
else if (dest == "15680")
window.location = ipath + 'xnext/accesspage/showcontent/subject?p_document_id='+ p2+ '&p_dimension_id='+ p1;
else if (dest == "15747")
window.location = ipath + 'xnext/accesspage/resources/allcontent?p_dimension_id='+ p1;
else if (dest == "15716")
window.location = ipath + 'xnext/accesspage/customers/log';
else if (dest == "15932")
window.location = ipath + 'xnext/accesspage/resources/discussionforum?p_dimension_id='+ p1;
else if (dest == "15907")
window.location = ipath + 'xnext/accesspage/workspace?p_document_id='+ p1;
else if (dest == "15933")
window.location = ipath + 'xnext/accesspage/resources/activity';
else if (dest == "15828")
window.location = ipath + 'xnext/accesspage/showcontent/discussionforum?p_document_id='+ p1+ '&p_dimension_id='+ p2;
else if (dest == "15934")
window.location = ipath + 'xnext/accesspage/showcontent/activity?p_document_id='+ p2;
else if (dest == "15935")
window.location = ipath + 'xnext/accesspage/showcontent/bulletinboard?p_document_id='+ p2;
else if (dest == "15955")
{ 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 == "16052")
window.location = ipath + 'xnext/accesspage/workspaces?p_dimension_id='+ p1;
else if (dest == "16034" || dest=="IKB_PROCESS_AREA")
window.location = ipath + 'xnext/accesspage/qms/area?p_dimension_id='+ p1;
else if (dest == "16723")
window.location = 'about:blank?p_document_id='+ p1;
else if (dest == "16058" || dest=="IKB_PROCESS_DETAILS")
window.location = ipath + 'xnext/accesspage/qms/process?p_dimension_id='+ p1;
else if (dest == "16096")
window.location = ipath + 'xnext/accesspage/qms/process?p_dimension_id='+ p1;
else if (dest == "16204")
window.location = ipath + 'xnext/accesspage/qms/process/content?p_dimension_id='+ p1+ '&p_document_id='+ p2;
else if (dest == "16210")
window.location = ipath + 'xnext/accesspage/qms/area/content?p_dimension_id='+ p1+ '&p_document_id='+ p2;
else if (dest == "16236")
window.location = ipath + 'xnext/accesspage/news/archive';
else if (dest == "16248")
window.location = ipath + 'xnext/accesspage/profile/workspace?p_document_id='+ p1;
else if (dest == "16255")
window.location = ipath + 'xnext/accesspage/profile/documents?p_document_id='+ p1;
else if (dest == "16256")
window.location = ipath + 'xnext/accesspage/profile/task?p_document_id='+ p1;
else if (dest == "16419")
window.location = ipath + 'xnext/accesspage/profile/postit';
else if (dest == "16423")
window.location = ipath + 'xnext/accesspage/person/profile?p_document_id='+ p1;
else if (dest == "16461")
window.location = ipath + 'xnext/accesspage/workspace?p_document_id='+ p1+ '&p_dimension_id='+ p2;
else if (dest == "16553")
window.location = ipath + 'xnext/accesspage/workspace/document/showcontent?p_workdoc='+ p2+ '&p_document_id='+ p1;
else if (dest == "16673")
window.location = ipath + 'xnext/accesspage/workspace/tasks/showcontent?p_workdoc='+ p2+ '&p_document_id='+ p1;
else if (dest == "16728")
window.location = ipath + 'xnext/accesspage/workspace/documents?p_document_id='+ p1+ '&p_dimension_id='+ p2;
else if (dest == "16729")
window.location = ipath + 'xnext/accesspage/workspace/tasks?p_document_id='+ p1+ '&p_dimension_id='+ p2;
else if (dest == "16822")
window.location = ipath + 'xnext/accesspage/qms/area/issue?p_dimension_id='+ p1+ '&p_document_id='+ p2;
else if (dest == "16823")
window.location = ipath + 'xnext/accesspage/qms/process/issue?p_dimension_id='+ p1+ '&p_document_id='+ p2;
else if (dest == "16825")
{ 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 == "16965")
window.location = ipath + 'xnext/accesspage/showcontent/vacancy?p_document_id='+ p2;
else if (dest == "16991")
window.location = ipath + 'xnext/accesspage/showcontent/news?p_document_id='+ p1;
else if (dest == "17020")
window.location = ipath + 'xnext/accesspage/search?p_dimension_id='+ p1 + '&p_operation=New&p_search_id=17012';
else if (dest == "17010")
window.location = ipath + 'xnext/accesspage/search?p_dimension_id='+ p1 + '&p_operation=New&p_search_id=17007';
else if (dest == "17021")
window.location = ipath + 'xnext/accesspage/search?p_dimension_id='+ p1 + '&p_operation=New&p_search_id=17013';
else if (dest == "17022")
window.location = ipath + 'xnext/accesspage/search?p_dimension_id='+ p1 + '&p_operation=New&p_search_id=17014';
else if (dest == "17023")
window.location = ipath + 'xnext/accesspage/search?p_dimension_id='+ p1 + '&p_operation=New&p_search_id=17019';
else if (dest == "17053")
window.location = ipath + 'xnext/accesspage/qms';
else if (dest == "17249" || dest=="CS_SEARCH")
window.location = ipath + 'cs/search?p_searchstring='+ 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 == "43466")
window.location = ipath + 'cs/imgarch?p_document_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 == "46091")
{ window.open(ipath + 'cs/form','_parent','scrollbars=no').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 == "46920")
window.location = ipath + 'dev/taskviewer';
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 == "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('/ikbStudio/metadata/infotypes','_blank','scrollbars=yes,resizable=yes,menubar=1,toolbar=yes').focus();}
else if (dest == "51647")
window.location = ipath + 'hoegh/accesspage/profile/tweet';
else if (dest == "51650")
window.location = ipath + 'xnext/accesspage/news/archive?p_search_id=51658&p_searchstring='+ p1+ '&p_newscat='+ p2;
else if (dest == "51669")
window.location = ipath + 'xnext/accesspage/news/archive?p_search_id=16233&p_searchstring='+ p1+ '&p_newscat='+ p2+ '&p_location='+ p3;
else if (dest == "51689")
window.location = ipath + 'hoegh/event/show?p_document_id='+ p1;
else if (dest == "51703")
window.location = ipath + 'hoegh/frontpage/popup/person?p_document_id='+ p1;
else if (dest == "51837")
window.location = ipath + 'hoegh/accesspage/showcontent/newbuilding?p_document_id='+ p1;
else if (dest == "53969")
window.location = ipath + 'xnext/accesspage/news/archive';
else if (dest == "53987")
window.location = ipath + 'xnext/accesspage/people?p_people='+ p1;
else if (dest == "53990")
window.location = ipath + 'hoegh/accesspage/newbuilding/projects?p_status=51822&p_dimension_id='+ p1;
else if (dest == "53995")
window.location = ipath + 'hoegh/accesspage/newbuilding/projects?p_status=51821&p_dimension_id='+ p1;
else if (dest == "54018")
window.location = ipath + 'hoegh/accesspage/newbuilding/aboutus?p_dimension_id='+ p1;
else if (dest == "54046")
window.location = ipath + 'hoegh/applications/all';
else if (dest == "54049")
window.location = ipath + 'hoegh/externalsites/all';
else if (dest == "54060")
window.location = ipath + 'hoegh/tweets/all';
else if (dest == "54073")
window.location = ipath + 'xnext/accesspage/news/archive?p_search_id=51577';
else if (dest == "54093")
window.location = ipath + 'hoegh/frontpage/popup/org?p_document_id='+ p1;
else if (dest == "54098")
{ window.open(ipath + 'hoegh/image?p_document_id='+ p1,'hoeghImage','scrollbars=no').focus();}
else if (dest == "54144")
window.location = ipath + 'hoegh/accesspage/fun?p_document_id='+ p1;
else if (dest == "54158")
window.location = ipath + 'hoegh/accesspage/showcontent/nocomment?p_document_id='+ p1;
else if (dest == "54273")
window.location = ipath + 'xnext/accesspage/media-gallery';
else if (dest == "54274")
{ window.open('http://mintid/mintidweb/','_blank','scrollbars=yes,resizable=yes,menubar=1,toolbar=yes').focus();}
else if (dest == "54323")
window.location = ipath + 'hoeght/accesspage/showcontent/article?p_document_id='+ p1;
else if (dest == "54335")
window.location = ipath + 'hoegh/modulepage/organization/officepersonlist?p_document_id='+ p1;
else if (dest == "55837")
window.location = ipath + 'organisation/handbook?p_document_id='+ p1+ '&p_dimension_id='+ p2;
else if (dest == "55916")
window.location = ipath + 'xnext/accesspage/organization/office?p_document_id='+ p1;
else if (dest == "56094")
window.location = ipath + 'hainternet/home?p_dimension_id='+ p1;
else if (dest == "56285")
window.location = ipath + 'hainternet/search?p_searchstring='+ p1;
else if (dest == "56183")
window.location = ipath + 'hainternet/ps?p_dimension_id='+ p1+ '&p_document_id='+ p2;
else if (dest == "56226")
window.location = ipath + 'hainternet/news/hoegh_dialogue?p_dimension_id='+ p1;
else if (dest == "56324")
window.location = ipath + 'hainternet/ps/freight_inquiry';
else if (dest == "56534")
window.location = ipath + 'hainternet/ps/cargo/non-rolling/article?p_dimension_id='+ p1+ '&p_document_id='+ p2;
else if (dest == "56556")
window.location = ipath + 'hainternet/ps/cargo/cars-suvs/article?p_dimension_id='+ p1+ '&p_document_id='+ p2;
else if (dest == "56558")
window.location = ipath + 'hainternet/ps/cargo/hh/article?p_dimension_id='+ p1+ '&p_document_id='+ p2;
else if (dest == "56563")
window.location = ipath + 'hainternet/ship_management?p_dimension_id='+ p1;
else if (dest == "56581")
window.location = ipath + 'hainternet/ship_management/environment?p_dimension_id='+ p1;
else if (dest == "56612")
window.location = ipath + 'hainternet/sitemap';
else if (dest == "56634")
window.location = ipath + 'hainternet/ps/cargo/details?p_dimension_id='+ p1+ '&p_document_id='+ p2;
else if (dest == "56698")
window.location = ipath + 'hainternet/contact_us_press_media';
else if (dest == "56820")
window.location = ipath + 'hoeghcom/home';
else if (dest == "56717")
window.location = ipath + 'hoeghcom/search?p_searchstring='+ p1;
else if (dest == "56733")
{ window.open(ipath + 'hoegh/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 == "56925")
window.location = ipath + 'hoeghcom/arts_alliance?p_dimension_id='+ p1;
else if (dest == "56903")
window.location = ipath + 'hainternet/emergency';
else if (dest == "56927")
window.location = ipath + 'hoeghcom/other_interests?p_dimension_id='+ p1;
else if (dest == "56973")
window.location = ipath + 'hainternet/regions?p_dimension_id='+ p1;
else if (dest == "57018")
{ window.open(ipath + 'cs/component/picklist-m?p_dimension_id=57015','_piclist_m','height=550,top=' + (screen.height-550)/2 + ',width=975,left=' + (screen.width-975)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "57020")
{ window.open(ipath + 'cs/component/picklist-m?p_dimension_id=56177','_piclist_m','height=550,top=' + (screen.height-550)/2 + ',width=975,left=' + (screen.width-975)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "57045")
window.location = ipath + 'hainternet/region_americas?p_dimension_id='+ p1;
else if (dest == "57072")
window.location = ipath + 'hainternet/region_europe?p_dimension_id='+ p1;
else if (dest == "57073")
window.location = ipath + 'hainternet/regions/east_asia?p_dimension_id='+ p1;
else if (dest == "57074")
window.location = ipath + 'hainternet/regions/south_asia_middle_east?p_dimension_id='+ p1;
else if (dest == "57153")
window.location = ipath + 'hoeghcom/legal_disclaimer?p_dimension_id='+ p1;
else if (dest == "57161")
window.location = ipath + 'hainternet/region_americas/request_for_id?p_dimension_id='+ p1;
else if (dest == "57176")
window.location = ipath + 'hoegh/accesspage/elearning?p_document_id='+ p1;
else if (dest == "57264")
window.location = ipath + 'hoeghcom/sitemap?p_dimension_id='+ p1;
else if (dest == "57267")
window.location = ipath + 'hainternet/ps/cargo/article?p_dimension_id='+ p1+ '&p_document_id='+ p2;
else if (dest == "57294")
{ window.open('','_blank','scrollbars=no').focus();}
else if (dest == "57303")
window.location = ipath + 'hainternet/ps/gti?p_dimension_id='+ p1;
else if (dest == "57306")
window.location = ipath + 'hainternet/fleet_info/fleet_over_time?p_dimension_id='+ p1;
else if (dest == "57418")
{ window.open(ipath + 'cs/component/picklist-m?p_dimension_id=56526','_piclist_m','height=550,top=' + (screen.height-550)/2 + ',width=975,left=' + (screen.width-975)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "57447")
{ window.open(ipath + 'cs/component/picklist-m?p_dimension_id=56673','_piclist_m','height=550,top=' + (screen.height-550)/2 + ',width=975,left=' + (screen.width-975)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "57571")
window.location = ipath + 'hainternet/region_trades?p_dimension_id='+ p1 + '&p_region=51587';
else if (dest == "57570")
window.location = ipath + 'hainternet/regions/east_asia/profile?p_dimension_id='+ p1;
else if (dest == "57621")
window.location = ipath + 'hainternet/region_europe/announcement/article?p_document_id='+ p1;
else if (dest == "57639")
window.location = ipath + 'hainternet/region_east_asia/announcement/article?p_document_id='+ p1;
else if (dest == "57697")
window.location = ipath + 'hainternet/region/region4/trades?p_dimension_id='+ p1 + '&p_region=54209';
else if (dest == "55848")
window.location = ipath + 'organisation/handbook/show?p_document_id='+ p1+ '&p_dimension_id='+ p2;
else if (dest == "56108")
window.location = ipath + 'hainternet/schedule';
else if (dest == "56110")
window.location = ipath + 'hainternet/news';
else if (dest == "56114")
window.location = ipath + 'hainternet/news/article?p_document_id='+ p1;
else if (dest == "56139")
window.location = ipath + 'hainternet/news/archive';
else if (dest == "56188")
window.location = ipath + 'hainternet/fleet_info?p_dimension_id='+ p1;
else if (dest == "56150")
window.location = ipath + 'hainternet/news/press_releases';
else if (dest == "56195")
window.location = ipath + 'hainternet/news/press_releases/article?p_document_id='+ p1;
else if (dest == "56202")
window.location = ipath + 'hainternet/news/annual_reports?p_dimension_id='+ p1;
else if (dest == "56224")
{ window.open(ipath + 'xnext/accesspage/publish/subdocs','MinPopup','height=600,top=' + (screen.height-600)/2 + ',width=800,left=' + (screen.width-800)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "56230")
window.location = ipath + 'hainternet/news/hain?p_dimension_id='+ p1;
else if (dest == "56253")
window.location = ipath + 'hainternet/fleet_info/vessel?p_document_id='+ p1;
else if (dest == "56299")
window.location = ipath + 'hainternet/ps/cargo?p_dimension_id='+ p1;
else if (dest == "57709")
window.location = ipath + 'hainternet/region_americas/announcements?p_dimension_id='+ p1;
else if (dest == "56569")
window.location = ipath + 'hainternet/ship_management/organisation?p_dimension_id='+ p1;
else if (dest == "56580")
window.location = ipath + 'hainternet/ship_management/hsseq?p_dimension_id='+ p1;
else if (dest == "56582")
window.location = ipath + 'hainternet/ship_management/purchase?p_dimension_id='+ p1;
else if (dest == "56616")
window.location = ipath + 'hainternet/ps/cargo/details?p_dimension_id='+ p1;
else if (dest == "56607")
window.location = ipath + 'hainternet/legal_disclaimer';
else if (dest == "56668")
window.location = ipath + 'hainternet/about_us';
else if (dest == "56663")
window.location = ipath + 'hainternet/contact_us/';
else if (dest == "56685")
window.location = ipath + 'hainternet/about_us/company?p_dimension_id='+ p1;
else if (dest == "56823")
window.location = ipath + 'hoeghcom/hoegh?p_dimension_id='+ p1;
else if (dest == "56744")
{ window.open(ipath + 'xnext/accesspage/publish','carousel','height=200,top=' + (screen.height-200)/2 + ',width=450,left=' + (screen.width-450)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "56921")
window.location = ipath + 'hainternet/emergency/article?p_document_id='+ p1;
else if (dest == "56843")
window.location = ipath + 'hoeghcom/shipping?p_dimension_id='+ p1;
else if (dest == "56873")
window.location = ipath + 'hoeghcom/asset_management?p_dimension_id='+ p1;
else if (dest == "56896")
window.location = ipath + 'hoeghcom/real_estate?p_dimension_id='+ p1;
else if (dest == "56937")
window.location = ipath + 'hainternet/emergency/vessel/particulars?p_document_id='+ p1;
else if (dest == "56953")
window.location = ipath + 'hoeghcom/legal_disclaimer?p_dimension_id='+ p1;
else if (dest == "56957")
window.location = ipath + 'hoeghcom/contact_us';
else if (dest == "57123")
window.location = ipath + 'hainternet/about_us/csr?p_dimension_id='+ p1;
else if (dest == "57126")
window.location = ipath + 'hainternet/about_us/Recruitment?p_dimension_id='+ p1;
else if (dest == "57573")
window.location = ipath + 'hainternet/region/east_asia/trades?p_dimension_id='+ p1 + '&p_region=51588';
else if (dest == "57635")
window.location = ipath + 'hainternet/region_east_asia/announcements?p_dimension_id='+ p1;
else if (dest == "57436")
window.location = ipath + 'hainternet/about_us/contact_us/list';
else if (dest == "57636")
window.location = ipath + 'hainternet/region_r4/announcements?p_dimension_id='+ p1;
else if (dest == "57504")
window.location = ipath + 'hainternet/ps/ports _register';
else if (dest == "57564")
window.location = ipath + 'hainternet/region_europe/announcements?p_dimension_id='+ p1;
else if (dest == "57700")
window.location = ipath + 'hainternet/regions/region4/profile?p_dimension_id='+ p1;
else if (dest == "57710")
window.location = ipath + 'hainternet/region_americas/announcement/article?p_document_id='+ p1;
else if (dest == "57641")
window.location = ipath + 'hainternet/region_r4/announcement/article?p_document_id='+ p1;
else if (dest == "57732")
window.location = ipath + 'hainternet/region/americas/trades?p_dimension_id='+ p1 + '&p_region=54172';
else if (dest == "57850")
window.location = ipath + 'organisational-development/show?p_document_id='+ p1+ '&p_dimension_id='+ p2;
else if (dest == "57967")
window.location = ipath + 'hoegh/businessareas?p_dimension_id=57873';
else if (dest == "57971")
window.location = ipath + 'hoegh/businessareas?p_dimension_id=57877';
else if (dest == "51851")
{ window.open(ipath + 'ext/cs/form/image?p_d_i=-284&p_d_c=&p_d_v='+ p1,'_editimage','height=260,top=' + (screen.height-260)/2 + ',width=700,left=' + (screen.width-700)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "51858")
window.location = ipath + 'ext/cs/document.json?p_document_id='+ p1;
else if (dest == "57856")
window.location = ipath + 'organisational-development?p_document_id=26840&p_dimension_id=51563';
else if (dest == "57970")
window.location = ipath + 'hoegh/businessareas?p_dimension_id=57876';
else if (dest == "57972")
window.location = ipath + 'hoegh/businessareas?p_dimension_id=57878';
else if (dest == "57798")
{ window.open(ipath + 'xnext/accesspage/publish','port','height=200,top=' + (screen.height-200)/2 + ',width=450,left=' + (screen.width-450)/2 + ',scrollbars=yes,resizable=yes').focus();}
else if (dest == "57969")
window.location = ipath + 'hoegh/businessareas?p_dimension_id=57875';
else if (dest == "57847")
window.location = ipath + 'organisational-development?p_document_id=26840&p_dimension_id=51563';
else if (dest == "57968")
window.location = ipath + 'hoegh/businessareas?p_dimension_id=57874';
else if (dest == "57973")
window.location = ipath + 'hoegh/businessareas?p_dimension_id=57879';
else if (dest == "76164")
window.location = ipath + 'hoegh/organisation/it?p_dimension_id=76123';
else if (dest == "57734")
{ window.open(ipath + 'hainternet/ports/redirect?p_document_id='+ p1,'_port','scrollbars=no').focus();}
else if (dest == "76066")
window.location = ipath + 'hoegh/organisation/hr?p_dimension_id=76050';
 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 = "/ikbViewer/pls/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;
             }
            

