+
+ if [ -z "$AJAX" ]; then
+
+ echo "<div class=\"switchbox\"><div class=\"switchnameleft\">Receiver Power</div><span class=\"alignbuttonsright\">"
+ echo "<form action=\"/cgi-bin/switch.cgi\"><input type=\"hidden\" name=\"id\" value=\"ymhpower\" /><input class=\"sendbutton\" type='submit' name='power' value='tgl' /></form>"
+ echo "<form action=\"/cgi-bin/switch.cgi\"><input type=\"hidden\" name=\"id\" value=\"ymhpower\" /><input class=\"offbutton\" type='submit' name='power' value='off' /></form>"
+ echo "</span></div>"
+
+ echo "<div class=\"switchbox\"><div class=\"switchnameleft\">Receiver Volume</div><span class=\"alignbuttonsright\">"
+ echo "<form action=\"/cgi-bin/switch.cgi\"><input type=\"hidden\" name=\"id\" value=\"ymhvolup\" /><input class=\"sendbutton\" type='submit' name='power' value='↑' /></form>"
+ echo "<form action=\"/cgi-bin/switch.cgi\"><input type=\"hidden\" name=\"id\" value=\"ymhvoldown\" /><input class=\"sendbutton\" type='submit' name='power' value='↓' /></form>"
+ echo "</span></div>"
+
+ else
+
+ echo "<div class=\"switchbox\">"
+ echo "<span class=\"alignbuttonsleft\">"
+ echo " <button class=\"sendbutton\" onClick='sendButton(\"on\",\"ymhpower\");'>Tgl</button>"
+ echo " <button class=\"offbutton\" onClick='sendButton(\"on\",\"ymhpoweroff\");'>Off</button>"
+ echo "</span>"
+ echo "<div class=\"switchnameright\">Receiver Power</div>"
+ echo "</div>"
+
+ echo "<div class=\"switchbox\">"
+ echo "<span class=\"alignbuttonsleft\">"
+ echo " <button class=\"sendbutton\" onClick='sendButton(\"on\",\"ymhvolup\");'>↑</button>"
+ echo " <button class=\"sendbutton\" onClick='sendButton(\"on\",\"ymhvoldown\");'>↓</button>"
+ echo "</span>"
+ echo "<div class=\"switchnameright\">Receiver Volume</div>"
+ echo "</div>"
+
+ fi
+