var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3891947&docid=67194382&x=2355',
		'title': '',
		'imageId': '67194382',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891947&docid=67194383&x=2355',
		'title': '',
		'imageId': '67194383',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891947&docid=67194384&x=2355',
		'title': '',
		'imageId': '67194384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891947&docid=67194385&x=2355',
		'title': '',
		'imageId': '67194385',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891947&docid=67194393&x=2355',
		'title': '',
		'imageId': '67194393',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891947&docid=67194394&x=2355',
		'title': '',
		'imageId': '67194394',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891947&docid=67194395&x=2355',
		'title': '',
		'imageId': '67194395',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891947&docid=67194396&x=2355',
		'title': '',
		'imageId': '67194396',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891947&docid=67194397&x=2355',
		'title': '',
		'imageId': '67194397',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891947&docid=67194398&x=2355',
		'title': '',
		'imageId': '67194398',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3891947';

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