var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3936561&docid=68279328&x=5629',
		'title': '',
		'imageId': '68279328',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936561&docid=68279327&x=5629',
		'title': '',
		'imageId': '68279327',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936561&docid=68279326&x=5629',
		'title': '',
		'imageId': '68279326',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936561&docid=68279330&x=5629',
		'title': '',
		'imageId': '68279330',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936561&docid=68279321&x=5629',
		'title': '',
		'imageId': '68279321',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936561&docid=68279331&x=5629',
		'title': '',
		'imageId': '68279331',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936561&docid=68279329&x=5629',
		'title': '',
		'imageId': '68279329',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936561&docid=68279335&x=5629',
		'title': '',
		'imageId': '68279335',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936561&docid=68279333&x=5629',
		'title': '',
		'imageId': '68279333',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936561&docid=68279334&x=5629',
		'title': '',
		'imageId': '68279334',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936561&docid=68279336&x=5629',
		'title': '',
		'imageId': '68279336',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936561&docid=68279337&x=5629',
		'title': '',
		'imageId': '68279337',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936561&docid=68279322&x=5629',
		'title': '',
		'imageId': '68279322',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936561&docid=68279325&x=5629',
		'title': '',
		'imageId': '68279325',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936561&docid=68279320&x=5629',
		'title': '',
		'imageId': '68279320',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936561&docid=68279332&x=5629',
		'title': '',
		'imageId': '68279332',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936561&docid=68279324&x=5629',
		'title': '',
		'imageId': '68279324',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936561&docid=68279323&x=5629',
		'title': '',
		'imageId': '68279323',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3936561';

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