var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4073704&docid=71089519&x=5328',
		'title': '',
		'imageId': '71089519',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073704&docid=71089517&x=5328',
		'title': '',
		'imageId': '71089517',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073704&docid=71089511&x=5328',
		'title': '',
		'imageId': '71089511',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073704&docid=71089520&x=5328',
		'title': '',
		'imageId': '71089520',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073704&docid=71089523&x=5328',
		'title': '',
		'imageId': '71089523',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073704&docid=71089514&x=5328',
		'title': '',
		'imageId': '71089514',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073704&docid=71089515&x=5328',
		'title': '',
		'imageId': '71089515',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073704&docid=71089510&x=5328',
		'title': '',
		'imageId': '71089510',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073704&docid=71089506&x=5328',
		'title': '',
		'imageId': '71089506',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073704&docid=71089518&x=5328',
		'title': '',
		'imageId': '71089518',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073704&docid=71089507&x=5328',
		'title': '',
		'imageId': '71089507',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073704&docid=71089524&x=5328',
		'title': '',
		'imageId': '71089524',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073704&docid=71089508&x=5328',
		'title': '',
		'imageId': '71089508',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073704&docid=71089516&x=5328',
		'title': '',
		'imageId': '71089516',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073704&docid=71089522&x=5328',
		'title': '',
		'imageId': '71089522',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073704&docid=71089512&x=5328',
		'title': '',
		'imageId': '71089512',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073704&docid=71089513&x=5328',
		'title': '',
		'imageId': '71089513',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073704&docid=71089509&x=5328',
		'title': '',
		'imageId': '71089509',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073704&docid=71089521&x=5328',
		'title': '',
		'imageId': '71089521',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4073704';

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";
	})
}
