//this is for redirect , Shania Lee 2005/08/26 
NotFoundHost= window.location.host
NotFoundPath=window.location.pathname.toLowerCase()
NewPath=''


if ( (NotFoundPath=='/wireless/') || (NotFoundPath=='/wireless') )
{
	NewPath= NotFoundHost + '/Zones/Wireless_Ethernet/index.htm'
}

else if ((NotFoundPath=='/uc') || (NotFoundPath=='/uc/') || (NotFoundPath=='/event/tech/2005/uc/index.htm') || (NotFoundPath=='/event/tech/2005/uc/'))
{
	NewPath= NotFoundHost + '/Event/Tech/2005/uc/index.asp'
}

else if ((NotFoundPath=='/mtsc') || (NotFoundPath=='/mtsc/'))
{
	NewPath= NotFoundHost + '/support/mtsc_showcase.htm'
}

else if ((NotFoundPath=='/ltw') || (NotFoundPath=='/ltw/'))
{
	NewPath= 'web4.moxa.com/usa/ltw/ltw.asp'
}

else if (NotFoundPath=='/contact_moxa/contact_moxa_home.htm') 
{
	NewPath= NotFoundHost + '/contact_moxa/index.htm'
}


else if (NotFoundPath=='/about_moxa/%5cindex.htm') 
{
	NewPath= NotFoundHost + '/about_moxa/about_moxa_home.htm'
}



else if ((NotFoundPath=='/marine/index.htm') || (NotFoundPath=='/marine/') || (NotFoundPath=='/marine')   )
{
	NewPath= NotFoundHost + '/Zones/Industrial_Ethernet/Marine/'
}

else if ((NotFoundPath=='/greenproduct') || (NotFoundPath=='/greenproduct/'))
{
	NewPath= NotFoundHost + '/about_moxa/greenproduct/index.htm'
}

//%26=&

else if ((NotFoundPath=='/product/about_embedded_%26_programmable.htm') ||  (NotFoundPath=='/product/embedded_%26_programmable.htm'))
{
	NewPath= NotFoundHost + '/Zones/Embedded_Computing/index.htm'
}

else if ((NotFoundPath=='/product/about_industrial_ethernet.htm') ||  (NotFoundPath=='/product/industrial_ethernet.htm'))
{
	NewPath= NotFoundHost + '/Zones/Industrial_Ethernet/index.htm'
}

else if ((NotFoundPath=='/product/about_pc-based_serial.htm') ||  (NotFoundPath=='/product/pc-based_serial.htm'))
{
	NewPath= NotFoundHost + '/Zones/Serial_Communication/index.htm'
}

else if ((NotFoundPath=='/product/about_serial_device_servers.htm') ||  (NotFoundPath=='/product/serial_device_servers.htm'))
{
	NewPath= NotFoundHost + '/Zones/Serial_To_Ethernet/index.htm'
}


else if ((NotFoundPath=='/product/adp-scm-stf-s.htm') ||  (NotFoundPath=='/product/adp-scm-stf-sadp-scm-stf-m.htm'))
{
	NewPath= NotFoundHost + '/product/accessories/ADP-SCm-STf-SADP-SCm-STf-M.htm'
}


else if (NotFoundPath=='/product/nport__w2004.htm') 
{
	NewPath= NotFoundHost + '/product/NPort_W2004.htm'
}

else if (NotFoundPath=='/product/nport_device_servers.htm') 
{
	NewPath= NotFoundHost + '/product/External_Device_Servers.htm'
}

else if ((NotFoundPath=='/product/opc_server.htm') ||  (NotFoundPath=='/product/snmp_opc_server.htm') ||  (NotFoundPath=='/product/snmp_opc_server_pro.htm')  )
{
	NewPath= NotFoundHost + '/product/EDS-SNMP_OPC_Server_Pro.htm'
}

else if ( (NotFoundPath=='/product/serial-to-usb_hubs.htm') || (NotFoundPath=='/product/usb-to-serial_hubs.htm') )
{
	NewPath= NotFoundHost + '/product/USB_to_Serial_Hubs.htm'
}

else if (NotFoundPath=='/product/uc7110-lx.htm') 
{
	NewPath= NotFoundHost + '/product/UC-7110-LX.htm'
}

else if (NotFoundPath=='/product/universal_communicators.htm') 
{
	NewPath= NotFoundHost + '/product/Embedded_Computers.htm'
}

else if (NotFoundPath=='/product/video-over-ip_products.htm') 
{
	NewPath= NotFoundHost + '/product/Video_over_IP_Servers.htm'
}


else if ((NotFoundPath=='/product/wireless_serial_device_servers.htm')  || (NotFoundPath=='/product/wireless_serial_device_server.htm') )
{
	NewPath= NotFoundHost + '/product/Wireless_Ethernet_Products.htm'
}


else if ((NotFoundPath=='/ie') ||  (NotFoundPath=='/ie/') )
{
	NewPath= NotFoundHost + '/zones/industrial_ethernet/index.htm'
}


// Add by Shania Lee 2005/11/02

else if ( (NotFoundPath=='/product/industrial_ethernet.htm') || (NotFoundPath=='/product/ethernet_switches.htm') ) 
{
	NewPath= NotFoundHost + '/product/Industrial_Ethernet_Switches.htm'
}

else if  (NotFoundPath=='/product/ethernet-to-fiber_converters.htm')  
{
	NewPath= NotFoundHost + '/product/Ethernet_to_Fiber_Converters.htm'
}

else if  (NotFoundPath=='/product/power_supplies.htm')  
{
	NewPath= NotFoundHost + '/product/Software_Accessories.htm#Adaptors'
}

else if  (NotFoundPath=='/product/network_enablers.htm')  
{
	NewPath= NotFoundHost + '/product/Embedded_Device_Servers.htm'
}

else if  ( (NotFoundPath=='/io_order') || (NotFoundPath=='/io_order/') )
{
	NewPath= NotFoundHost + '/product/iologik-4000.htm#orderingInfo'
}

//Add By Shania Lee 2006/04/07
else if  ( (NotFoundPath=='/messe') || (NotFoundPath=='/messe/') )
{
	NewPath= NotFoundHost + '/event/tech/2006/messe_2006/'
}

//Add By Shania Lee 2006/06/28
else if  ( (NotFoundPath=='/remoteio') || (NotFoundPath=='/remoteio/') )
{
	NewPath= NotFoundHost + '/product/Remote_IO_Server.htm'
}

//Add By Shania Lee 2007/06/28
else if  ( (NotFoundPath=='/3d') || (NotFoundPath=='/3d/') )
{
	NewPath= NotFoundHost + '/Event/tech/2007/Active_Ethernet_IO_3D/'
}

//Add By Shania Lee 2007/07/05
else if  ( (NotFoundPath=='/download') || (NotFoundPath=='/download/') )
{
	NewPath= 'web4.moxa.com/support/download_center.asp'
}

//Add By Shania Lee 2007/08/31
else if  ( (NotFoundPath=='/uport_ap_collection') || (NotFoundPath=='/uport_ap_collection/') )
{
	NewPath= NotFoundHost + '/Event/tech/2007/UPort_AP_Collection/'
	
}

//Add By Shania Lee 2007/09/05
else if  ( (NotFoundPath=='/getmoxa') || (NotFoundPath=='/getmoxa/') )
{
	NewPath= NotFoundHost + '/Event/tech/2007/Nport_Uport_Free_Trial/'
	
}

//Add By Shania Lee 2007/11/13 MUS Postcard
else if  ( (NotFoundPath=='/eds-305-m12') || (NotFoundPath=='/eds-305-m12/') )
{
	NewPath= NotFoundHost + '/support/download_form.asp?Event_id=414'
	
}

//Add By Shania Lee 2007/12/11 Warranty
else if  ( (NotFoundPath=='/warranty') || (NotFoundPath=='/warranty/') )
{
	NewPath= NotFoundHost + '/support/warranty.htm'
	
}

//Add By Shania Lee 2007/12/13 Wireless guidebook
else if  ( (NotFoundPath=='/wirelessguidebook') || (NotFoundPath=='/wirelessguidebook/') )
{
	NewPath= NotFoundHost + '/support/2007_Industrial_Wireless_Guidebook.htm'
	
}

//Add By Shania Lee 2008/04/15 lottery
else if  ( (NotFoundPath=='/lottery') || (NotFoundPath=='/lottery/') )
{
	NewPath= NotFoundHost + '/event/net/2008/ioLogik_E2242_luckydraw/index.php'
	
}

//Add By Shania Lee 2008/05/06 
else if  ( (NotFoundPath=='/solution_forum') || (NotFoundPath=='/solution_forum/') )
{
	NewPath= NotFoundHost + '/event/net/2008/forum/index.html'
	
}

//Add By Shania Lee 2008/05/06 
else if  ( (NotFoundPath=='/pt') || (NotFoundPath=='/pt/') )
{
	NewPath= NotFoundHost + '/Event/Net/2008/powertrans/'
	
}

//Add By Shania Lee 2008/07/17 
else if  ( (NotFoundPath=='/ec_brochure') || (NotFoundPath=='/ec_brochure/') )
{
	NewPath= NotFoundHost + '/Event/Sys/2008/Promotion_Brochure/index.htm'
	
}

//Add By Shania Lee 2008/07/04 
else if  (NotFoundPath=='/product/eds-726.htm') 
{
	NewPath= NotFoundHost + '/product/EDS-728.htm'
	
}


//Add By Daria Liu 2008/07/08 
else if  (NotFoundPath=='/product/cp-102uf_series.htm') 
{
	NewPath= NotFoundHost + '/product/cp-102uf.htm'
	
}

//Add By Daria Liu 2008/07/08 
else if  (NotFoundPath=='/product/v462.htm') 
{
	NewPath= NotFoundHost + '/product/thinkcore_v462.htm'
	
}

//Add By Daria Liu 2008/07/08 
else if  (NotFoundPath=='/product/v464.htm') 
{
	NewPath= NotFoundHost + '/product/thinkcore_v464.htm'
	
}

//Add By Daria Liu 2008/07/08 
else if  (NotFoundPath=='/product/v466.htm') 
{
	NewPath= NotFoundHost + '/product/thinkcore_v466.htm'
	
}

//Add By Daria Liu 2008/07/08 
else if  (NotFoundPath=='/product/v468.htm') 
{
	NewPath= NotFoundHost + '/product/thinkcore_v468.htm'
	
}

//Add By Daria Liu 2008/07/21 
else if  (NotFoundPath=='/support/guidebooks') 
{
	NewPath= NotFoundHost + '/support/request_catalog.aspx'
	
}

//Add By Daria Liu 2008/07/21 
else if  (NotFoundPath=='/support/white_papers') 
{
	NewPath= NotFoundHost + '/support/request_catalog.aspx'
	
}

//Add By Daria Liu 2008/07/24
else if  (NotFoundPath=='/flash/click_n_go') 
{
	NewPath= NotFoundHost + '/zones/active_ethernet_io/introduction_movie_index.htm'
	
}

//Add By Daria Liu 2008/08/01
else if  (NotFoundPath=='/product/oncell_g2150i.htm') 
{
	NewPath= NotFoundHost + '/product/oncell_g2100.htm'
	
}

//Add By Daria Liu 2008/08/29
else if  ( (NotFoundPath=='/ip_modem') || (NotFoundPath=='/ip_modem/') )
{
	NewPath= NotFoundHost + '/Event/IW/2008/IP_Modem/index.htm'
	
}

//Add By Daria Liu 2008/09/19
else if  (NotFoundPath=='/support/download_center.asp') 
{
	NewPath= NotFoundHost + '/support/resource_category.aspx?r_id=1'
	
}

//Add By Daria Liu 2008/09/25
else if  ( (NotFoundPath=='/power') || (NotFoundPath=='/power/') )
{
	NewPath= NotFoundHost + '/Zones/Industrial_Ethernet/pa/index.htm?utm_source=MUS_TD_World&utm_medium=print&utm_campaign=2008_Oct_PT_Series'
	
}

//Add By Daria Liu 2008/09/25
else if  ( (NotFoundPath=='/power/e-newsletter') || (NotFoundPath=='/power/e-newsletter/') )
{
	NewPath= NotFoundHost + '/Zones/Industrial_Ethernet/pa/index.htm?utm_source=MUS_TD_World&utm_medium=email&utm_campaign=2008_Oct_PT_Series'
	
}

//Add By Oliver Wang 2008/10/16
else if  ( (NotFoundPath=='/download/activeopcserver') || (NotFoundPath=='/download/activeopcserver/') )
{
	NewPath= NotFoundHost + '/support/request_catalog_detail.aspx?r_id=1981'

}

//Add By Oliver Wang 2008/10/17
else if (NotFoundPath=='/product/wireless_antennas.htm')
{
	NewPath= NotFoundHost + '/product/antennas.htm'

}

//Add By Oliver Wang 2008/10/20
else if (NotFoundPath=='/testoliver')
{
	NewPath= NotFoundHost + '/product/antennas.htm'
	
}

//Add By Oliver Wang 2008/12/03
else if ( (NotFoundPath=='/support') || (NotFoundPath=='/support/') )
{
	NewPath= NotFoundHost + '/support/support_home.aspx'
	
}

//Add By Daria 2008/12/29
else if (NotFoundPath=='/product/wireless_antennas_5_ghz.htm')
{
	NewPath= NotFoundHost + '/product/wireless_antennas_2400_hz.htm'
	
}

else if (NotFoundPath=='/product/thinkcore_w321_.htm')
{
	NewPath= NotFoundHost + '/product/w321.htm'
	
}

else if (NotFoundPath=='/product/thinkcore_w341_.htm')
{
	NewPath= NotFoundHost + '/product/w341.htm'
	
}

else if (NotFoundPath=='/product/thinkcore_w315_.htm')
{
	NewPath= NotFoundHost + '/product/w315.htm'
	
}

else if (NotFoundPath=='/product/thinkcore_w325_.htm')
{
	NewPath= NotFoundHost + '/product/w325.htm'
	
}

else if (NotFoundPath=='/product/thinkcore_w345_.htm')
{
	NewPath= NotFoundHost + '/product/w345.htm'
	
}

else if (NotFoundPath=='/product/thinkcore_da-660.htm')
{
	NewPath= NotFoundHost + '/product/da-660.htm'
	
}

else if (NotFoundPath=='/product/thinkcore_da-661.htm')
{
	NewPath= NotFoundHost + '/product/da-661.htm'
	
}

else if (NotFoundPath=='/product/thinkcore_da-662.htm')
{
	NewPath= NotFoundHost + '/product/da-662.htm'
	
}

else if (NotFoundPath=='/product/thinkcore_da-663.htm')
{
	NewPath= NotFoundHost + '/product/da-663.htm'
	
}

else if (NotFoundPath=='/product/thinkcore_da-662-i.htm')
{
	NewPath= NotFoundHost + '/product/da-662-i.htm'
	
}

else if (NotFoundPath=='/product/thinkCore_ia241_ia240.htm')
{
	NewPath= NotFoundHost + '/product/ia241_ia240.htm'
	
}

else if (NotFoundPath=='/product/thinkcore_v481.htm')
{
	NewPath= NotFoundHost + '/product/v481.htm'
	
}

else if (NotFoundPath=='/product/thinkcore_v462.htm')
{
	NewPath= NotFoundHost + '/product/v462.htm'
	
}

else if (NotFoundPath=='/product/thinkcore_v464.htm')
{
	NewPath= NotFoundHost + '/product/v464.htm'
	
}

else if (NotFoundPath=='/product/thinkcore_v466.htm')
{
	NewPath= NotFoundHost + '/product/v466.htm'
	
}

else if (NotFoundPath=='/product/thinkcore_v468.htm')
{
	NewPath= NotFoundHost + '/product/v468.htm'
	
}

//Add By Daria 2009/01/09
else if (NotFoundPath=='/product/eds-726.htm')
{
	NewPath= NotFoundHost + '/product/eds-728.htm'
	
}


//Add By Daria Liu 2009/02/23
else if  ( (NotFoundPath=='/io') || (NotFoundPath=='/io/') )
{
	NewPath= NotFoundHost + '/zones/active_ethernet_io/rmna/index.htm'
	
}


//Add By Milliya Tsai 2010/05/04
else if  ( (NotFoundPath=='/mxview_flash') || (NotFoundPath=='/mxview_flash/') )
{
	NewPath= NotFoundHost + '/event/Net/2010/MXview/flash/MXview_Flash.htm'
	
}

//Add By Milliya Tsai 2010/05/04
else if  ( (NotFoundPath=='/mxview_white_paper') || (NotFoundPath=='/mxview_white_paper/') )
{
	NewPath= NotFoundHost + '/support/request_catalog_detail.aspx?r_id=2521'
	
}

//Add By Milliya Tsai 2010/05/04
else if  ( (NotFoundPath=='/mxview_download') || (NotFoundPath=='/mxview_download/') )
{
	NewPath= NotFoundHost + '/support/download.aspx?d_id=2466'
	
}


//Add By Milliya Tsai 2010/05/04
else if  ( (NotFoundPath=='/iks_test_review') || (NotFoundPath=='/iks_test_review/') )
{
	NewPath= NotFoundHost + '/Event/Net/2010/IKS_series/Test_review.htm'
	
}


//Add By Milliya Tsai 2010/05/04
else if  ( (NotFoundPath=='/turbo_chain_white_paper') || (NotFoundPath=='/turbo_chain_white_paper/') )
{
	NewPath= NotFoundHost + '/support/request_catalog_detail.aspx?r_id=2345'
	
}



if (NewPath != '')
{	
NewURL= "http://" +  NewPath	
window.location.href=NewURL	
}







