var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975282&docid=69152635&x=738',
		'title': '',
		'imageId': '69152635',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975282&docid=69152633&x=738',
		'title': '',
		'imageId': '69152633',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975282&docid=69152634&x=738',
		'title': '',
		'imageId': '69152634',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975282&docid=69152637&x=738',
		'title': '',
		'imageId': '69152637',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975282&docid=69152636&x=738',
		'title': '',
		'imageId': '69152636',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975282&docid=69152638&x=738',
		'title': '',
		'imageId': '69152638',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975282&docid=69152641&x=738',
		'title': '',
		'imageId': '69152641',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975282&docid=69152644&x=738',
		'title': '',
		'imageId': '69152644',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975282&docid=69152647&x=738',
		'title': '',
		'imageId': '69152647',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975282&docid=69152652&x=738',
		'title': '',
		'imageId': '69152652',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975282&docid=69152653&x=738',
		'title': '',
		'imageId': '69152653',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975282&docid=69152658&x=738',
		'title': '',
		'imageId': '69152658',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975282';

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