var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3949410&docid=68572271&x=022',
		'title': '',
		'imageId': '68572271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949410&docid=68572281&x=022',
		'title': '',
		'imageId': '68572281',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949410&docid=68572270&x=022',
		'title': '',
		'imageId': '68572270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949410&docid=68572268&x=022',
		'title': '',
		'imageId': '68572268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949410&docid=68572278&x=022',
		'title': '',
		'imageId': '68572278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949410&docid=68572280&x=022',
		'title': '',
		'imageId': '68572280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949410&docid=68572283&x=022',
		'title': '',
		'imageId': '68572283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949410&docid=68572272&x=022',
		'title': '',
		'imageId': '68572272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949410&docid=68572267&x=022',
		'title': '',
		'imageId': '68572267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949410&docid=68572285&x=022',
		'title': '',
		'imageId': '68572285',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949410&docid=68572276&x=022',
		'title': '',
		'imageId': '68572276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949410&docid=68572265&x=022',
		'title': '',
		'imageId': '68572265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949410&docid=68572266&x=022',
		'title': '',
		'imageId': '68572266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949410&docid=68572284&x=022',
		'title': '',
		'imageId': '68572284',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949410&docid=68572277&x=022',
		'title': '',
		'imageId': '68572277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949410&docid=68572269&x=022',
		'title': '',
		'imageId': '68572269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949410&docid=68572274&x=022',
		'title': '',
		'imageId': '68572274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949410&docid=68572279&x=022',
		'title': '',
		'imageId': '68572279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949410&docid=68572273&x=022',
		'title': '',
		'imageId': '68572273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949410&docid=68572275&x=022',
		'title': '',
		'imageId': '68572275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949410&docid=68572282&x=022',
		'title': '',
		'imageId': '68572282',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949410&docid=68572287&x=022',
		'title': '',
		'imageId': '68572287',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949410&docid=68572286&x=022',
		'title': '',
		'imageId': '68572286',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3949410';

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