var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4028043&docid=70584536&x=1911',
		'title': '',
		'imageId': '70584536',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028043&docid=70584529&x=1911',
		'title': '',
		'imageId': '70584529',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028043&docid=70584537&x=1911',
		'title': '',
		'imageId': '70584537',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028043&docid=70584508&x=1911',
		'title': '',
		'imageId': '70584508',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028043&docid=70584525&x=1911',
		'title': '',
		'imageId': '70584525',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028043&docid=70584514&x=1911',
		'title': '',
		'imageId': '70584514',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028043&docid=70584530&x=1911',
		'title': '',
		'imageId': '70584530',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028043&docid=70584509&x=1911',
		'title': '',
		'imageId': '70584509',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028043&docid=70584521&x=1911',
		'title': '',
		'imageId': '70584521',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028043&docid=70584517&x=1911',
		'title': '',
		'imageId': '70584517',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028043&docid=70584510&x=1911',
		'title': '',
		'imageId': '70584510',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028043&docid=70584526&x=1911',
		'title': '',
		'imageId': '70584526',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028043&docid=70584519&x=1911',
		'title': '',
		'imageId': '70584519',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028043&docid=70584522&x=1911',
		'title': '',
		'imageId': '70584522',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028043&docid=70584512&x=1911',
		'title': '',
		'imageId': '70584512',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028043&docid=70584520&x=1911',
		'title': '',
		'imageId': '70584520',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028043&docid=70584518&x=1911',
		'title': '',
		'imageId': '70584518',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028043&docid=70584531&x=1911',
		'title': '',
		'imageId': '70584531',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028043&docid=70584532&x=1911',
		'title': '',
		'imageId': '70584532',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028043&docid=70584516&x=1911',
		'title': '',
		'imageId': '70584516',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028043&docid=70584528&x=1911',
		'title': '',
		'imageId': '70584528',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028043&docid=70584515&x=1911',
		'title': '',
		'imageId': '70584515',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028043&docid=70584527&x=1911',
		'title': '',
		'imageId': '70584527',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028043&docid=70584533&x=1911',
		'title': '',
		'imageId': '70584533',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028043&docid=70584535&x=1911',
		'title': '',
		'imageId': '70584535',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028043&docid=70584513&x=1911',
		'title': '',
		'imageId': '70584513',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028043&docid=70584511&x=1911',
		'title': '',
		'imageId': '70584511',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028043&docid=70584524&x=1911',
		'title': '',
		'imageId': '70584524',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028043&docid=70584523&x=1911',
		'title': '',
		'imageId': '70584523',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028043&docid=59270515&x=1911',
		'title': ' ',
		'imageId': '59270515',
		'alt' : ' ',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028043&docid=59270516&x=1911',
		'title': '',
		'imageId': '59270516',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4028043';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
