var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3917743&docid=67848265&x=2658',
		'title': '',
		'imageId': '67848265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917743&docid=67848264&x=2658',
		'title': '',
		'imageId': '67848264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917743&docid=67848269&x=2658',
		'title': '',
		'imageId': '67848269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917743&docid=67848275&x=2658',
		'title': '',
		'imageId': '67848275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917743&docid=67848277&x=2658',
		'title': '',
		'imageId': '67848277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917743&docid=67848276&x=2658',
		'title': '',
		'imageId': '67848276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917743&docid=67848266&x=2658',
		'title': '',
		'imageId': '67848266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917743&docid=67848267&x=2658',
		'title': '',
		'imageId': '67848267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917743&docid=67848272&x=2658',
		'title': '',
		'imageId': '67848272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917743&docid=67848268&x=2658',
		'title': '',
		'imageId': '67848268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917743&docid=67848270&x=2658',
		'title': '',
		'imageId': '67848270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917743&docid=67848282&x=2658',
		'title': '',
		'imageId': '67848282',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917743&docid=67848280&x=2658',
		'title': '',
		'imageId': '67848280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917743&docid=67848278&x=2658',
		'title': '',
		'imageId': '67848278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917743&docid=67848279&x=2658',
		'title': '',
		'imageId': '67848279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917743&docid=67848281&x=2658',
		'title': '',
		'imageId': '67848281',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917743&docid=67848273&x=2658',
		'title': '',
		'imageId': '67848273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917743&docid=67848274&x=2658',
		'title': '',
		'imageId': '67848274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917743&docid=67848271&x=2658',
		'title': '',
		'imageId': '67848271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3917743';

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