var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4035478&docid=70035077&x=5747',
		'title': '',
		'imageId': '70035077',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035478&docid=70035078&x=5747',
		'title': '',
		'imageId': '70035078',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035478&docid=70035079&x=5747',
		'title': '',
		'imageId': '70035079',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035478&docid=70035080&x=5747',
		'title': '',
		'imageId': '70035080',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035478&docid=70035081&x=5747',
		'title': '',
		'imageId': '70035081',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035478&docid=70035082&x=5747',
		'title': '',
		'imageId': '70035082',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035478&docid=70035083&x=5747',
		'title': '',
		'imageId': '70035083',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035478&docid=70035084&x=5747',
		'title': '',
		'imageId': '70035084',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035478&docid=70035085&x=5747',
		'title': '',
		'imageId': '70035085',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035478&docid=70035086&x=5747',
		'title': '',
		'imageId': '70035086',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035478&docid=70035087&x=5747',
		'title': '',
		'imageId': '70035087',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035478&docid=70035088&x=5747',
		'title': '',
		'imageId': '70035088',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035478&docid=70035089&x=5747',
		'title': '',
		'imageId': '70035089',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035478&docid=70035090&x=5747',
		'title': '',
		'imageId': '70035090',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035478&docid=70035091&x=5747',
		'title': '',
		'imageId': '70035091',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035478&docid=70035075&x=5747',
		'title': '',
		'imageId': '70035075',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035478&docid=70035076&x=5747',
		'title': '',
		'imageId': '70035076',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035478&docid=70035092&x=5747',
		'title': '',
		'imageId': '70035092',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035478&docid=70035093&x=5747',
		'title': '',
		'imageId': '70035093',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4035478';

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