var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4030667&docid=70473093&x=5434',
		'title': '',
		'imageId': '70473093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030667&docid=70473095&x=5434',
		'title': '',
		'imageId': '70473095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030667&docid=70473100&x=5434',
		'title': '',
		'imageId': '70473100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030667&docid=70473096&x=5434',
		'title': '',
		'imageId': '70473096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030667&docid=70473094&x=5434',
		'title': '',
		'imageId': '70473094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030667&docid=70473099&x=5434',
		'title': '',
		'imageId': '70473099',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030667&docid=70473098&x=5434',
		'title': '',
		'imageId': '70473098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030667&docid=70473120&x=5434',
		'title': '',
		'imageId': '70473120',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030667&docid=70473118&x=5434',
		'title': '',
		'imageId': '70473118',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030667&docid=70473097&x=5434',
		'title': '',
		'imageId': '70473097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4030667';

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