:: Economics [nobr]

<h1> <<print $arcologies[0].name + " Weekly Financial Report - Week " + $week>></h1>

<<set $nextButton = "Continue", $nextLink = "Scheduled Event">>

<<if $cash > -10000>>
	<<set $debtWarned = 0>>
<</if>>

<<SectorCounts>>
<<UpdateOwnership>>

<<include "Markets Report">>

<br><br>

<<if $useTabs == 0>>
<<include "Neighbors Development">>

<br><br>

<<include "Personal Business">>

<br><br>

<<if $corpAnnounced == 1>>
	<br>
	<<if $corpIncorporated == 0>>
	<span id="incorporate">
	You have not yet committed funds to create a publicly traded slave trading corporation. <<link "Lay the groundwork for incorporation">><<set $corpIncorporated = 1>><<set $sharePrice = 20>><<set $oldSharePrice = $sharePrice>><<set $personalShares = 2000>><<set $cash -= 30000>><<set $publicShares = 1000>><<set $corpCash = 20000>><<set $generalAssets = 500>><<set $slaveAssets = 1000>><<set $entrapmentAssets = 500>><<set $captureAssets = 500>><<set $trainingAssets = 500>><<set $surgicalAssets = 500>><<set $drugAssets = 500>><<replace "#incorporate">><<print "The groundwork has been laid for the incorporation of a publicly traded slave trading concern. The IPO will involve 1000 shares at ¤20/share.">><</replace>><</link>> //Costs ¤30000//
	</span>
	<<else>>
	<<include "Corporation Developments">>
	<</if>>
	<br><br>
<</if>>
<<include "Reputation">>

<<if $secExp == 1>>
<br><br>
<<include "authorityReport">>
<</if>>

<br><br>

<<include "Arcology Management">>

<<if ($PC.boobs == 1 && $PC.boobsBonus > 0) || $PC.pregKnown == 1 || $playerAging != 0>>
<br><br>
<<include "Personal Notes">>
<</if>>

<<if $FSAnnounced > 0>>
	<br><br>
	<<include "FS Developments">>
<</if>>

<br><br>
<<if $secExp == 1>>
<<include "securityReport">>
<</if>>

<<else>>
<<CreateSimpleTabs>>
<body>

<div class="tab">
  <button class="tablinks" onclick="opentab(event, 'Arcologies')" id="defaultOpen">Arcologies</button>
  <button class="tablinks" onclick="opentab(event, 'Business')">Personal Business</button>
	<<if $corpAnnounced == 1>>
	<button class="tablinks" onclick="opentab(event, 'Corporation')">Corporation</button>
	<</if>>
	<button class="tablinks" onclick="opentab(event, 'Reputation')">Reputation</button>
	<<if $secExp == 1>>
	<button class="tablinks" onclick="opentab(event, 'Authority')">Authority</button>
	<</if>>
	<button class="tablinks" onclick="opentab(event, 'Management')">Arcology Management</button>
	<<if ($PC.boobs == 1 && $PC.boobsBonus > 0) || $PC.pregKnown == 1 || $playerAging != 0>>
	<button class="tablinks" onclick="opentab(event, 'Personal')">Personal Notes</button>
	<</if>>
	<<if $FSAnnounced > 0>>
	<button class="tablinks" onclick="opentab(event, 'Societies')">Society Development</button>
	<</if>>
	<<if $secExp == 1>>
	<button class="tablinks" onclick="opentab(event, 'securityReport')">Security</button>
	<</if>>
</div>

<div id="Arcologies" class="tabcontent">
  <div class="content">
  <<include "Neighbors Development">>
	</div>
</div>

<div id="Business" class="tabcontent">
<div class="content">
<<include "Personal Business">>
</div>
</div>

<<if $corpAnnounced == 1>>
<div id="Corporation" class="tabcontent">
<div class="content">
<<if $corpIncorporated == 0>>
<span id="incorporate">
You have not yet committed funds to create a publicly traded slave trading corporation. <<link "Lay the groundwork for incorporation">><<set $corpIncorporated = 1>><<set $sharePrice = 20>><<set $oldSharePrice = $sharePrice>><<set $personalShares = 2000>><<set $cash -= 30000>><<set $publicShares = 1000>><<set $corpCash = 20000>><<set $generalAssets = 500>><<set $slaveAssets = 1000>><<set $entrapmentAssets = 500>><<set $captureAssets = 500>><<set $trainingAssets = 500>><<set $surgicalAssets = 500>><<set $drugAssets = 500>><<replace "#incorporate">><<print "The groundwork has been laid for the incorporation of a publicly traded slave trading concern. The IPO will involve 1000 shares at ¤20/share.">><</replace>><</link>> //Costs ¤30000//
</span>
<<else>>
<<include "Corporation Developments">>
<</if>>
</div>
</div>
<</if>>

<div id="Reputation" class="tabcontent">
<div class="content">
<<include "Reputation">>
</div>
</div>

<div id="Authority" class="tabcontent">
<div class="content">
<<include "authorityReport">>
</div>
</div>

<div id="Management" class="tabcontent">
<div class="content">
<<include "Arcology Management">>
</div>
</div>

<<if ($PC.boobs == 1 && $PC.boobsBonus > 0) || $PC.pregKnown == 1 || $playerAging != 0>>
<div id="Personal" class="tabcontent">
<div class="content">
<<include "Personal Notes">>
</div>
</div>
<</if>>

<<if $FSAnnounced > 0>>
<div id="Societies" class="tabcontent">
<div class="content">
<<include "FS Developments">>
</div>
</div>
<</if>>

<div id="securityReport" class="tabcontent">
<div class="content">
<<include "securityReport">>
</div>
</div>

<script>
function opentab(evt, tabName) {
    var i, tabcontent, tablinks;
    tabcontent = document.getElementsByClassName("tabcontent");
    for (i = 0; i < tabcontent.length; i++) {
        tabcontent[i].style.display = "none";
    }
    tablinks = document.getElementsByClassName("tablinks");
    for (i = 0; i < tablinks.length; i++) {
        tablinks[i].className = tablinks[i].className.replace(" active", "");
    }
    document.getElementById(tabName).style.display = "block";
    evt.currentTarget.className += " active";
}

document.getElementById("defaultOpen").click();
</script>

</body>
<</if>>
