--- internet/dslsnrset.js	1969-12-31 19:00:00.000000000 -0500
+++ internet/dslsnrset.js	2009-07-18 11:15:16.000000000 -0400
@@ -0,0 +1,96 @@
+<!-- ../internet/dslsnrset.js -->
+<STYLE type = "text/css">
+<!--
+.SlideDiv{position:relative;top:0px;left:0px;width: 680px; height: 50px;}
+.SNR_td_tadio{
+width:20px;
+}
+.SNR_td_tadio_text{
+width:120px;
+}
+.SNRRadio{
+height:12px;
+}
+.SNRSetTable{
+}
+.RadioConnectStrich{
+height:1px;
+width:70px;
+color:black;
+background-color:black;
+margin:0px;
+padding:0px;
+font-size:1px;
+}
+.RadioConnectStrichTd{
+height:1px;
+}
+.OSNR_td_tadio{
+width:80px;
+}
+.OSNRRadio{
+height:12px;
+}
+.OSNRSetTable{
+margin-top:0px;
+}
+-->
+</STYLE>
+<script type="text/javascript">
+<? include ../html/de/js/jsl.js ?>
+<? include ../html/de/internet/awatch.js ?>
+var g_mode=0;
+var g_oem = "<? query env:status/OEM ?>";
+function uiDoOnLoad() {
+document.title ="FRITZ!Box Einstellungen";
+InitMode();
+jslSetChecked("uiViewDefaultSNR"+g_mode, true);
+}
+function InitMode(){
+var ctlbits = jslGetValue("uiPostControlBitfield");
+if(ctlbits & 4){
+snrmargin=(jslGetValue("iPostDownstreamMarginOffset"internet0).toString(10);
+switch(snrmargin){
+case "0":g_mode=0;break;
+case "1":g_mode=1;break;
+case "2":g_mode=2;break;
+case "3":g_mode=3;break;
+case "4":g_mode=4;break;
+default: g_mode=0;break;
+}
+}else{
+g_mode=0;
+}
+}
+function OnChangeMode(mode){
+g_mode=mode;
+}
+function uiDoRefresh() {
+jslGoTo("internet","dslsnrset");
+}
+function uiDoHelp() {
+jslPopHelp("hilfe_internet_dslsnrset");
+}
+function uiDoSave() {
+jslSetValue("iPostDownstreamMarginOffset", g_mode * 10);
+var ctlbits = jslGetValue("uiPostControlBitfield");
+ctlbits &= ~6;
+if(g_mode>0)
+{
+ctlbits |= 4;
+}
+jslSetValue("uiPostControlBitfield", ctlbits);
+if (
+0
+){
+jslSetValue("uiPostGetPage", "../html/reboot.html");
+document.getElementById("uiPostForm").submit();
+}
+else {
+jslFormSubmitEx("internet", "dslsnrset");
+}
+}
+function uiDoCancel() {
+jslGoTo("internet", "dslsnrset");
+}
+</script>
