var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3991990&docid=69535338&x=193',
		'title': '',
		'imageId': '69535338',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991990&docid=69535339&x=193',
		'title': '',
		'imageId': '69535339',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991990&docid=69535342&x=193',
		'title': '',
		'imageId': '69535342',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991990&docid=69535344&x=193',
		'title': '',
		'imageId': '69535344',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991990&docid=69531526&x=193',
		'title': '',
		'imageId': '69531526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991990&docid=69535331&x=193',
		'title': '',
		'imageId': '69535331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991990&docid=69535332&x=193',
		'title': '',
		'imageId': '69535332',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991990&docid=69535352&x=193',
		'title': '',
		'imageId': '69535352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991990&docid=69535335&x=193',
		'title': '',
		'imageId': '69535335',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991990&docid=69535333&x=193',
		'title': '',
		'imageId': '69535333',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991990&docid=69535334&x=193',
		'title': '',
		'imageId': '69535334',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991990&docid=69535350&x=193',
		'title': '',
		'imageId': '69535350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991990&docid=69535340&x=193',
		'title': '',
		'imageId': '69535340',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991990&docid=69535348&x=193',
		'title': '',
		'imageId': '69535348',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991990&docid=69535345&x=193',
		'title': '',
		'imageId': '69535345',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991990&docid=69535341&x=193',
		'title': '',
		'imageId': '69535341',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991990&docid=69535346&x=193',
		'title': '',
		'imageId': '69535346',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991990&docid=69535351&x=193',
		'title': '',
		'imageId': '69535351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991990&docid=69535343&x=193',
		'title': '',
		'imageId': '69535343',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991990&docid=69535349&x=193',
		'title': '',
		'imageId': '69535349',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991990&docid=69535337&x=193',
		'title': '',
		'imageId': '69535337',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991990&docid=69535347&x=193',
		'title': '',
		'imageId': '69535347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3991990';

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