<%@page contentType="text/html;charset=ISO-8859-15" pageEncoding="ISO-8859-1"%>
<%@page import="org.homeplayer.util.*"%>
<%@page import="org.homeplayer.web.*"%>
<jsp:useBean id="hppc" class="org.homeplayer.web.HPPageContext" scope="request">
	<jsp:setProperty name="hppc" property="request" 		value="<%=request%>"/>
	<jsp:setProperty name="hppc" property="serviceName" 	value="VideoTV"/>
	<jsp:setProperty name="hppc" property="navLevel" 	value="3"/>
</jsp:useBean> 
<%
int entry = WebUtil.getParam(request, "entry", 0) ;

hppc.addMenuItem(new HPMenuLink("Journaux TV", 		"videotv.jsp?entry=0", (entry == 0)));
hppc.addMenuItem(new HPMenuLink("Humour", 			"videotv.jsp?entry=1", (entry == 1)));
hppc.addMenuItem(new HPMenuLink("Information", 		"videotv.jsp?entry=2", (entry == 2)));
hppc.addMenuItem(new HPMenuLink("Cinéma", 			"videotv.jsp?entry=3", (entry == 3)));

hppc.setHeaderTitle("Videos \"" + ((HPMenuLink) hppc.getMenuItems().get(entry)).getName() + "\"");
hppc.setFavorite(hppc.getServiceName(), ((HPMenuLink) hppc.getMenuItems().get(entry)).getName(), hppc.getLocalURL());
%>
<jsp:include page="<%= hppc.getSkin().getHeader() %>"/>
<%if( entry == 0 ) {%>	
	<jsp:include page="jt.jsp"/>
<%} else if( entry == 1 ) {%>
	<jsp:include page="humour.jsp"/>
<%} else if( entry == 2 ) {%>
	<jsp:include page="divers.jsp"/>
<%} else if( entry == 3 ) {%>
	<jsp:include page="cinema.jsp"/>
<%}%>
<jsp:include page="<%= hppc.getSkin().getFooter() %>"/>