var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3950019&docid=68592714&x=3347',
		'title': '',
		'imageId': '68592714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950019&docid=68592716&x=3347',
		'title': '',
		'imageId': '68592716',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950019&docid=68592717&x=3347',
		'title': '',
		'imageId': '68592717',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950019&docid=68592729&x=3347',
		'title': '',
		'imageId': '68592729',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950019&docid=68592719&x=3347',
		'title': '',
		'imageId': '68592719',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950019&docid=68592720&x=3347',
		'title': '',
		'imageId': '68592720',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950019&docid=68592718&x=3347',
		'title': '',
		'imageId': '68592718',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950019&docid=68592722&x=3347',
		'title': '',
		'imageId': '68592722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950019&docid=68592723&x=3347',
		'title': '',
		'imageId': '68592723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950019&docid=68592721&x=3347',
		'title': '',
		'imageId': '68592721',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950019&docid=68592724&x=3347',
		'title': '',
		'imageId': '68592724',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950019&docid=68592727&x=3347',
		'title': '',
		'imageId': '68592727',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950019&docid=68592726&x=3347',
		'title': '',
		'imageId': '68592726',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950019&docid=68592730&x=3347',
		'title': '',
		'imageId': '68592730',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950019&docid=68592725&x=3347',
		'title': '',
		'imageId': '68592725',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950019&docid=68592728&x=3347',
		'title': '',
		'imageId': '68592728',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3950019';

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